_Thomas wrote: > I'm still learning this regex stuff ... > Gathering as much as I can. > > I need to take a string of say ... "11.3.2000.txt" and make it .. > "1132000". Just numbers. Can I write a regex to remove a character if its > not inbetween 0 - 9? > > I'll look into it, but any advice is much appreciated. Although as Bill has pointed out, it can be better done other ways, to use a regex you would use: $string =~r/[^0-9]//g; Stuart _______________________________________________ Perl-Win32-Web mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web
