remove empty lines code example Example: remove empty lines regex Find: ^(?:[\t ]*(?:\r?\n|\r))+ Replace: ""