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 search for the following regex: ^(?:[\t ]*(?:\r?\n|\r))+ and replace it with empty field
^(?:[\t ]*(?:\r?\n|\r))+