Page 1 of 1

String Search

Posted: 24 May 2025 01:43
by TestMeister
Using the filter box, is it possible to search for a string of words within a file?
I have tried searching for a two-word string with/without and using single/double quotes without success.
I specify the folder, select Contents as the only filter and leave all other options at their default values.

Re: String Search

Posted: 24 May 2025 05:42
by highend
?
has target
will find all (text) files with exactly this sequence in them

but not ones with:

Code: Select all

has no target
the target has no name
...

Re: String Search

Posted: 24 May 2025 22:37
by WirlyWirly
I use quicksearch to perform content searches...

* /contents=Word1 Word2

or using Regex...

* /contents=".*Word1 Word2.*" /contflags=r

Re: String Search

Posted: 25 May 2025 20:21
by TestMeister
Major apologies in order...I was referring to the search within the UI Info Panel and was using it incorrectly. :oops:

This was my first attempt at searching with criteria found within a file. After selecting the Find Files tab, I remained on the default Name & Location tab where I assumed all parameters were to be entered and varied by selecting a different Filter. I completely missed the Contents tab (emoji needed for hand slapping forehead).

With the search properly configured and selecting Text & Binary type, it immediately found the target within the PDF I was trying to find.
The XY search is extremely fast!

Thanks for the responses and very sorry for the embarrassing oversight!