in reply to A better regex
However if you are just looking for digits try:$zipfile =~ /(A|B)FILE_([0-9]+)/; $day = $2;
$zipfile =~ /([0-9]+)[^0-9]?/; $day = $1;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: A better regex
by Anonymous Monk on Sep 24, 2003 at 00:52 UTC |