Can I add number succesions?

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
Rikardov
Posts: 2
Joined: Sun Oct 31, 2010 9:57 pm

Can I add number succesions?

Post by Rikardov »

I have a lot of lines like this

Code: Select all

xxxxxx
<caption></caption>
xxxxxx
<caption></caption>


And I want to enumerate all my items successively

so I have

Code: Select all

xxxxx
<caption>1</caption>
xxxxx
<caption>2</caption>
etc
Is there a way to do it?

Thank you very much in advance.
ben_josephs
Posts: 2464
Joined: Sun Mar 02, 2003 9:22 pm

Post by ben_josephs »

Find what: <caption></caption>
Replace with: <caption>\i</caption>

[X] Regular expression

Replace All
Post Reply