There are two ways to remove the empty lines in notepad ++. First option we can use regular expression to replace  and the second option using Line operation provided by Notepad ++. Lets say i have lot of empty lines in my notepad as like below

replace-empty-lines.jpg


Option 1:

We can use the regular expression to replace all the empty lines, Click on Control+F in notepad and go to replace tab.In find what field type '\n\r' and Replace field should be kept blank then click replace all button.

replace-empty-lines1.jpg

Output:
notpad++-replace-empty-lines



  Option 2:
replace.jpg

These are the two ways we can remove the empty lines in notepad++.