find empty line with enter in notepad++ code example
Example 1: regular expression to remove empty lines after text
Find: ^(?:[\t ]*(?:\r?\n|\r))+
Replace: ""
Example 2: notepad++ remove empty lines
; set Search Mode to reg ex
Find:^\h*\R
Replace: ""