Steven&Alison Chua wrote: > > Thanks Tom and James for your help. > > Sorry I forgot to mention that the filename has the filename "path" in it. > Hence the caret "^" wouldn;t work. > Eg of filename:"C:\ba\log\ULOG.20010101" > > I did have a look at the perlre manpage. Tried the options but I could'nt > get it to work.
Double up on your \'s to represent a single \. /\\ulog\./ -- ,-/- __ _ _ $Bill Luebkert ICQ=14439852 (_/ / ) // // DBE Collectibles Mailto:[EMAIL PROTECTED] / ) /--< o // // http://dbecoll.tripod.com/ (Free site for Perl) -/-' /___/_<_</_</_ Castle of Medieval Myth & Magic http://www.todbe.com/ _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/activeperl