notepad++ Inverse Regex replace (all but string)

^((?!hello).)*$ works in Notepad++ 6. I wonder if it’s better than this: ^(?!.*hello).*$

Leave a Comment