Keep It Simple, Stupid | |
PerlMonks |
Re: Getting File Type using Regular Expressionsby kvale (Monsignor) |
on Apr 21, 2004 at 13:11 UTC ( [id://346992]=note: print w/replies, xml ) | Need Help?? |
Welcome to the wonderful world of regexes! To learn more about regular expressions, check out my perlrequick tutorial.
With reference to your particular question, alternation will help here:
-Mark
In Section
Seekers of Perl Wisdom
|
|