I have the following:
<li id="xx"></li>
<li id="xx"></li>
<li id="xx"></li>
<li id="xx"></li>
and I'd like to use a quick find & replace to replace xx with xx01, xx02, etc. using TextMate Regular Expression search & replace.
i.e.
<li id="xx01"></li>
<li id="xx02"></li>
<li id="xx03"></li>
<li id="xx04"></li>
...
I'm struggling with this, I found how to do the other way around (ignore digit and replace all with the same), but not how to increment each replacement.
Ideas?