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.
String Search
Re: String Search
?
will find all (text) files with exactly this sequence in them
but not ones with:
...
has targetwill 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
One of my scripts helped you out? Please donate via Paypal
-
WirlyWirly
- Posts: 309
- Joined: 21 Oct 2020 23:33
- Location: XY 64-Bit | Win 10 @ 100% (3440x1440)
Re: String Search
I use quicksearch to perform content searches...
or using Regex...
* /contents=Word1 Word2or using Regex...
* /contents=".*Word1 Word2.*" /contflags=r-
TestMeister
- Posts: 237
- Joined: 04 Feb 2008 20:17
Re: String Search
Major apologies in order...I was referring to the search within the UI Info Panel and was using it incorrectly.
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!
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!
XYplorer Beta Club