Need help with regex

2003-09-23 Thread Segree, Gareth
> I have a directory of files that I want to move to another directory. > (eg. ALLY20030111W.eps > TEST W20030122 > HELP WANTED20030901WW.eps > GIRL WATCH BIRD 20030101 > etc..) > > I want to be able to parse the filename and replace the date portion with > any date > (eg $1="ALLY"

Regex problem

2003-09-24 Thread Segree, Gareth
I have a directory of files that I want to move to another directory. (eg. ALLY20030111W.eps TEST W20030122 HELP WANTED20030901WW.eps GIRL WATCH BIRD 20030101 etc..) I want to be able to parse the filename and replace the date portion with any date (eg $1="ALLY" $2="20030111" $3="

Need help with regex

2003-09-24 Thread Segree, Gareth
> MAN 2 MAN18800101.eps The filenames will not have this sort of naming convention. Files will look like the following. ALLY20030111W.eps TEST W20030122 HELP WANTED20030901WW.eps GIRL WATCH BIRD 20030101 HELPER 20030121.CW.eps -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands