I’d like to do a bulk line-by-line replace on a file within Notepad++ like so:
This is my line of text that I would like to replace
to
"This is my line of text that I would like to replace" +
I tried the following:
Find: ^$ Replace: "\1" +
Find: ^()$ Replace: "\1" +
Find: (^$) Replace: "\1" +
Any hints? Thanks in advance!
Try to search for
^(.*)$and replace with"\1" +The difference between this and your’s is that this one captures all characters between the starting and ending of the string. Your regexes simply tries to capture nothing.