Perl Monk, Perl Meditation | |
PerlMonks |
Re: RegEx Headachesby kcott (Archbishop) |
on Jun 22, 2013 at 21:06 UTC ( [id://1040291]=note: print w/replies, xml ) | Need Help?? |
G'day oryx3, Welcome to the monastery. I see a number of solutions that appear to be more complicated than necessary. You've provided two pieces of sample input with expected output for each. In both cases, either of these will achieve what you want:
Here's my test:
-- Ken
In Section
Seekers of Perl Wisdom
|
|