In the Notepad ++ Search and Replace dialog box (Ctrl-H), switch to Advanced mode.
From there, replacing \r\n with \\n , I should do it - if I understood your question correctly.
For example, I typed ...
something something else blah
... and then did it with Replace All, which left me:
something\nsomething else\nblah
nitsua
source share