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
+1 vote


I would need some more advanced searches, i would like to search for two or more words with AND but to set proximity of this words in file, so i can for example find only those matches in a large php file where table name and word "delete" is no far away than 2 lines.

This way i could find probably all places where there is a delete command from specific table and skip all wrong results with only delete or table name, but not in the same query or belonging to other table or delete.

Of course this is only one example, it would be very powerful future for everyone who needs it, could potentially pin point search phases a lot faster.

As for how to add it to the UI, it could be just a checkbox option with text box specifying how far in lines the words should be.

What you think?

by (45 points)

1 Answer

+1 vote
Best answer

This option is available in FileLocator Pro using the NEAR keyword, e.g.

delete NEAR My_Table

If you want to specify a specify number of characters, e.g. 200

delete NEAR:200 My_Table
by (31.5k points)
Thx, was using free version, time to change.