Search code examples
regexnotepad++

Notepad++ - Regex Expression


I need to find all the words which contain a specific sequence of characters and delete them.

For example: I want to delete all the words which contain 'all'. This will delete 'hallway', 'wallet', ...

I believe that the SQL equivalent would be: LIKE '%all%'. What is its RegEx equivalent please?


Solution

  • This is pretty trivial and I do suggest you check out some of the regular expression cheatsheets you can find on the web.

    .*all.*