View Single Post
Old 10-08-2011, 01:16 PM   #1
soparch
Enthusiast
soparch began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Jun 2010
Device: none
Sequential numbers regex?

Hello,
I wondered if anyone out there could help me. I want to be able to mark some tags up with sequential numbers and I wondered if this was possible with regular expressions.
What I want is for example to replace say

<p> with <p id="1"> <p id="2"> and so on etc, etc

I know nothing about regex's so any help would be appreciated.
Thanks
soparch is offline   Reply With Quote