Welcome to the Mythicsoft Q&A site for:

- Agent Ransack
- FileLocator Lite
- FileLocator Pro

Please feel free to ask any questions on these products or even answer other community member questions.

Useful Links:

- Contact Us
- Help Manuals
- Mythicsoft Home
0 votes

The Boolean search works fine across the whole file but is there a way to do boolean searches within LINES in Agent Ransack (especially AND searches) -- and return only LINES with target terms in the search results?

by (715 points)

2 Answers

0 votes

Boolean searching on a line-by-line basis is only supported in FileLocator Pro. However, you might be able to achieve what you want using a regex, which always match on a line-by-line basis e.g.

word1 AND word2

is the same as the regex:


by (31.5k points)
0 votes

FTR, this regex will find word1 and word2 in any order in Agent Ransack:


It can be expanded as required by appending (?=.*word3) for additional criteria.

by (955 points)

Nice solution using look-aheads, thanks!