Find what: ^(?!$) Find what: (?!^)$ Find what: ^.+$ Replacement: Find what: .+ Replacement: Find what: ^[ t]*S[^rn]* Replacement: