remove emplty lines in notepadd ++ code example Example: regular expression to remove empty lines after text Find: ^(?:[\t ]*(?:\r?\n|\r))+ Replace: ""