I'm using REGEX to find strings within specific parameters, for example:
<p>*(.+?)</p>
I would like each instance found to be replaced with a progressively increasing letter of the alphabet. So the first instance becomes <p>A</p>
, the second becomes <p>B</p>
, then <p>C</p>
, etc. through the end of the document. Is this possible?
A
`, `>A
`, `>>A
`, ...