notepadd ++ remove empyy line code example Example: notepad++ remove empty lines ; set Search Mode to reg ex Find:^\h*\R Replace: ""