Try:
if($file =~ /0000.*\/)
The '.' matches any character and the '*' quantifies the '.' to match 0 or more times.
- Frank
In reply to Re: Pattern Matching
by how do i know if the string is regular expression
in thread Pattern Matching
by JSchmitz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |