Agent Ransack help

D

Daniel Prince

How would I use Agent Ransack to search through all my .txt, .htm and
..html files for the string "automatic transmission" & (hard | rough) &
(shift | shifts | shifting)? The help file makes it seem as if this:

('\.txt$' | '\.htm$' | '\.html$')

would work for the file name part but it fails the test.

So far I have not been able to get it to do any AND searches. Does this
program do AND searches? If it does not, is there another program that
does? Thank you in advance for all replies.
 
M

Mario Alvares

Hi Daniel,

Daniel said:
('\.txt$' | '\.htm$' | '\.html$')

would work for the file name part but it fails the test.

You need to drop the single quotes and the spaces, because these are
treated as literal characters:

(\.txt$|\.htm$|\.html$)

This will also work without the brackets:
\.txt$|\.htm$|\.html$

Another way of saying the same thing:

(\.txt|\.htm|\.html)$
So far I have not been able to get it to do any AND searches. Does this
program do AND searches? If it does not, is there another program that
does? Thank you in advance for all replies.

I think Agent Ransack supports OR searches (using the | operator) but
not AND searches (using the & operator).

You could try InfoRapid Search & Replace:
http://www.inforapid.com/html/searchreplace.htm

HTH,
Mario
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top