go ahead... be a heretic | |
PerlMonks |
Re: AND and OR on Regular Expressionsby busunsl (Vicar) |
on Aug 25, 2009 at 14:07 UTC ( [id://791084]=note: print w/replies, xml ) | Need Help?? |
I think the easiest way to handle ANDs is using multiple regexen:
But if you know the order of appearance (i.e. olive before popeye) you can use:
In Section
Seekers of Perl Wisdom
|
|