Nov 10, 2018

How to remove / delete blank / empty lines in JEdit

Find (regular expression) \n\n and replace with \n.

There may have space/tabs in your "empty" line, then you may need to find (regular expression) ^\s*$\n and replace with nothing, i.e, get rid of ^\s*$\n.