Page 1 of 1
How to filter files beginning with...
Posted:
Tue Aug 06, 2002 2:47 pm
by robwood
What do I need to type in the File Filter to reject all files beginning with a certain string, but containing a few characters before the extension? I have aatempted to read and implement some of the examples in the help, but to no avail.
For example, how would I filter...
mickeymo001-1.jpg
mickeymo003-6.jpg etc etc
RE: How to filter files beginning with...
Posted:
Tue Aug 06, 2002 5:57 pm
by shaklee3
mickeymo[-0-9]+\.jpg
RE: How to filter files beginning with...
Posted:
Tue Aug 06, 2002 7:16 pm
by Quade
I think he needs a tag to make it match the beginning of the line. I think it's a charet
"^mickey" should match all filenames starting with Mickey but not match embedded mickeys.
Dexter, jump in here and correct me.
RE: How to filter files beginning with...
Posted:
Tue Aug 06, 2002 9:18 pm
by shaklee3
yes, thats right, I misread him. Try:
^mickeymo[-0-9]+\.jpg
RE: How to filter files beginning with...
Posted:
Tue Aug 06, 2002 10:08 pm
by dexter
How about that? Another RegEx guy. Yes, that's the way I would do it, too.