However if you are just looking for digits try:$zipfile =~ /(A|B)FILE_([0-9]+)/; $day = $2;
$zipfile =~ /([0-9]+)[^0-9]?/; $day = $1;
In reply to Re: A better regex
by injunjoel
in thread A better regex
by williamp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |