Batch replace without regular expression

Tool for Search and Replace across multiple files.
Post Reply
User avatar
Sectus

Batch replace without regular expression

Post by Sectus »

Would it be possible to disable regular expressions when doing batch replacements? I'm running into a problem where I'm searching for lines which has "\n" in them, but when I search for that, the program treats that as a new line instead of literally looking for \n
User avatar
Fool4UAnyway

Post by Fool4UAnyway »

You may also rewrite your normal or absolute literal search string to a regex. Using \\n may work: it escapes the \ character, meaning "search for a literal backspace" and then just a literal n follows. This will search for the literal string "\n".
User avatar
Sectus

Post by Sectus »

Thanks for the reply. I think turning off regular expression would be an ideal solution, but your suggestion works too.
Post Reply