How can I replace empty lines in Notepad++? I tried a find and replace with the empty lines in the find, and nothing in the replace, but it did not work; it probably needs r
You can follow the technique as shown in the following screenshot:
^\r\n
keep this empty
Regular expression
NOTE: for *nix files just find by \n
\n