Search for two words near each other

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
reg00000
Posts: 4
Joined: Wed Feb 09, 2022 10:06 pm

Re: Search within file contents?

Post by reg00000 »

Is there any way to use a wild card or search for two words near each other in the contents?
void
Developer
Posts: 17149
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search for two words near each other

Post by void »

wildcards:content:*word1*word2*


wildcards: = enable content wildcards.



regex:content:\bword1\b.{1,1000}\bword2\b


regex: = enable regular expressions.
\b = word boundary.
. = match any character
{1,1000} = match the previous element 1 to 1000 times -adjust for how close you want the words together.
Post Reply