in reply to
Problem with regex
From the start I can see that you've included _ in your character classes when I think you want it to precede the class...
/^ep_svr_\d+_\w{3}_\w{3}_.+$/;
[download]
Update:
The code tags weren't in when i diagnosed the problem...but the code should still fit the bill ;^)
Comment on
Re: Patterns
Download
Code
In Section
Seekers of Perl Wisdom