in reply to want regex to find 2nd and 3rd occurence of a character
Regexes are very powerful, but if you try to do too much with them, the regexes grow very fast in complexity, and you end up with a piece of mess that you can't maintain.
Use ordinary perl code to postprocess your results instead.
|
|---|