Something like "negative" search?
-
Hey Community, can someone tell me if Notepad++ is able to list files with a negative search string.
I often use the feature to replace patterns in all opened files or in all files in a certain folder. But let’s say I have 111 files in a folder and a certain string is missing in 11 of them, can NP++ then show me which of these files are lacking that string and how can I do that? -
maybe with something like this:
^(?!.*this_is_not_included).*
You can find more information on this topic here.
-
I would take the advice found HERE, and thus for the example @Ekopalypse started:
find:
(?s-i)\A(?:(?!\Qthis_is_not_included\E).)+\z
Of course the search mode is Regular expression for this.
-
@ekopalypse said in Something like "negative" search?:
^(?!.this_is_not_included).
Thx for your reply. Unfortunatly that seems not to work. I will look into the thread you mentioned.