OldChamp has asked for the wisdom of the Perl Monks concerning the following question:
How can I get a match counter and use it as a prefix in the peplace term. For example, I have several times "position" in my text and want to peplace it with "position 1", "position 2" and so on. Many thanks in advance!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: regex match counter
by davido (Cardinal) on Aug 29, 2015 at 20:48 UTC |