agent ransack question or search files question

  • Thread starter Thread starter (ProteanThread)
  • Start date Start date
P

(ProteanThread)

can agent ransack (or another search program) search for two files at
once ? say i wan to search for all "vi*.*" and "vb*.*" files can ransack
or another search program do this ?
 
can agent ransack (or another search program) search for two files at
once ? say i wan to search for all "vi*.*" and "vb*.*" files can ransack
or another search program do this ?


In Agent Ransack, enter this in file name area:-

^(vi)|^(vb)

The ^ indicates the characters are to be at the START of the file
names.

The () enclose the two strings tob be searched for.

The | indicates OR

So you will get all file starting with "vi" and "vb"

To do this, though, you should click on OPTIONS tab and make sure that
"File name - Regular Expression" is selected.
 
»Q« said:
The search might work a little faster if the branching is minimized.

^v(i|b)


but is there way to search for all of file types *.BMP and or *.JPG ?

same way ?
 
(ProteanThread) said:
but is there way to search for all of file types *.BMP and or *.JPG ?

same way ?


my fault - didn't realize i had to use "(bmp$)|(jpg$)" wasn't sure where
or how to place the $ operator. thanks guys.
 
my fault - didn't realize i had to use "(bmp$)|(jpg$)" wasn't sure
where or how to place the $ operator. thanks guys.

The $ can go in both parts or just at the end, "(bmp|jpg)$".

If you want to learn about Perl-compatible regular expressions, there
is great freeware for it, The Regex Coach.

<http://www.weitz.de/regex-coach/>
 
can agent ransack (or another search program) search for two files at
once ? say i wan to search for all "vi*.*" and "vb*.*" files can ransack
or another search program do this ?

Windows "Find".

Eg.

vi*.*;vb*.*

*.jpg;*.bmp

etc. etc.

Regards, John.

--
****************************************************
,-._|\ (A.C.F FAQ) http://clients.net2000.com.au/~johnf/faq.html
/ Oz \ John Fitzsimons - Melbourne, Australia.
\_,--.x/ http://www.vicnet.net.au/~johnf/welcome.htm
v http://clients.net2000.com.au/~johnf/
 
»Q« said:
The $ can go in both parts or just at the end, "(bmp|jpg)$".

If you want to learn about Perl-compatible regular expressions, there
is great freeware for it, The Regex Coach.

<http://www.weitz.de/regex-coach/>


thanks. its hard to find freeware files i already have where i'm not
sure what the correct filename spelling was (hate downloading duplicates)
 
Back
Top