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