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
This worked for me:
ctrl + h
find what
[\n\r]+$
^[\n\r]+
Replace with
Search Mode
Regex
Replace All