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

How do you do Boolean searches within lines in Agent Ransack

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?

asked Jul 5, 2012 by user (1,570 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:


answered Jul 6, 2012 by dave (55,690 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.

answered Feb 24, 2014 by bobm (1,100 points)

Nice solution using look-aheads, thanks!