Page 1 of 1

Batch replace without regular expression

Posted: Fri Mar 04, 2011 10:16 am
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

Posted: Sat Mar 05, 2011 12:58 am
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".

Posted: Sat Mar 05, 2011 12:45 pm
by Sectus
Thanks for the reply. I think turning off regular expression would be an ideal solution, but your suggestion works too.