No such thing as a small change | |
PerlMonks |
Re: Extraction of numbers in an stringby johngg (Canon) |
on Nov 24, 2016 at 14:14 UTC ( [id://1176498]=note: print w/replies, xml ) | Need Help?? |
You could split into pairs on a '<' or a '>' optionally followed by ':<' then split the pairs on a comma.
I hope this is helpful. Update: Changed quantifier from * to ?. Cheers, JohnGG
In Section
Seekers of Perl Wisdom
|
|