Page 1 of 1

basic expression

PostPosted: Thu May 02, 2002 12:45 pm
by AreLefty
How would I filter filename such as the following in r4.0

read01.mpg
read03.mpg
read10.mpg
read11.mpg

and
cin_deva.avi
cin_devb.avi
cin_devc.avi
cin_deve.avi
cin_devf.avi

RE: basic expression

PostPosted: Thu May 02, 2002 12:53 pm
by dexter
LAST EDITED ON 05-02-02 AT 11:55 AM (EST) How about

read[0-9][0-9]\.mpg

and

cin_dev[a-z]\.avi

Items in the bracket specify a range of characters to match for that position in the string. The backslash escapes the dot which is a reserved token matching any single character.