Reputation: 1063
I need to select and delete all content of those files that contains word "MY_WORD".
blah blagh
tata MY_WORD ppp
mother id 787
I try this regex (?s)(.*?MY_WORD).*$
or [^"]+(MY_WORD)[^"]+
and works in notepad++, but doesn't work in TextCrawler.
Upvotes: 0
Views: 128
Reputation: 10476
You can just try this approach:
.*MY_WORD.*
and also need to check "Dot matches newline".
Upvotes: 1