L
L
lexstile2017-02-28 12:09:17
Notepad++
lexstile, 2017-02-28 12:09:17

Replacing in notepad++ with counter?

You need to replace:
<span></span>
with:
<span data-item="i"></span>
where i is a number that increases with each replacement.
It should turn out like this:

<span data-item="1"></span>
<span data-item="2"></span>
<span data-item="3"></span>

...............................................

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Shvedov, 2017-02-28
@mmmaaak

Install a plugin for emmet, delete your line, write
and press tab

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question