[08:03 pm] Azrael -- Hey, I have Notepad++ but never use it (literally, have never used it).
[08:03 pm] Azrael -- However, I now have an instance in which I need a certain text editing feature, so perhaps it is Notepad++'s time to shine.
[08:04 pm] Azrael -- Can it do this: Search for and replace every instance of a block of text (which is long and includes many line breaks) with another block of text which, similarly, is long and consists of numerous lines?
[08:05 pm] Azrael -- For example, can I copy the contents of this shoutbox, and search a text file for each instance of that text and replace each one with the Declaration of Independence?
[08:07 pm] Roy -- Yeah, you can use the extended find/replace and use \n for a newline.
[08:09 pm] Roy -- Of course, some lines end with a carriage return, so you might need to use \r\n to check for a new line.
[08:11 pm] Azrael -- I can't copy/paste the contents of the shoutbox into the "Find what" box, it stops at the first return.
[08:20 pm] Roy -- Azrael: 1) Replace \ with \\. 2) Replace carriage return with \r. 3) Replace line feed with \n.
[08:21 pm] Roy -- Of course, when you're replacing the escape character, you need to escape it. So it would look like "Find \\, Replace \\\\"
[08:23 pm] Roy -- I just tested my way and it worked.
[08:24 pm] Roy -- Replace \\ with \\\\, Replace \r with \\r, Replace \n with \\n.
[08:25 pm] Roy -- I could write a program to do this.