Welcome to the Monastery | |
PerlMonks |
Re: want regex to find 2nd and 3rd occurence of a characterby DrHyde (Prior) |
on May 23, 2008 at 10:03 UTC ( [id://688117]=note: print w/replies, xml ) | Need Help?? |
Instead of using split() and a complicated regex, I think I'd use index() and substr().
In Section
Seekers of Perl Wisdom
|
|