_Excluding all paths containing specific text from search result

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
JAR1
Posts: 3
Joined: Sat May 01, 2021 5:56 pm

_Excluding all paths containing specific text from search result

Post by JAR1 »

I'm looking for all instances of the word 'dryer'
I'm attempting to exclude all paths containing the characters 'OneDrive'

I have created a filter
Exclude OneDrive !*\OneDrive*
It doesn't work.
My second filter
Exclude OneDrive (regex) regex:^(?!.*OneDrive).*
doesn't work either.

Any ideas?
thanks
void
Developer
Posts: 19839
Joined: Fri Oct 16, 2009 11:31 pm

Re: _Excluding all paths containing specific text from search result

Post by void »

Please change your exclude filter search to:

!\OneDrive\


Using a \ will force Everything to match the full path and name.



Alternative searches:

!path:OneDrive

path: == match path and name

!ww:path:OneDrive

ww: == match whole words
Post Reply