A
A
Andrey Vasilchenko2015-05-16 01:43:41
HTML
Andrey Vasilchenko, 2015-05-16 01:43:41

How to replace in notepad++?

Hello!
There is this line:

<li><a href=""><img src="img/gl/001.jpg" alt="dw" /></a></li>

you need to make such 130, and so that 001.jpg would be changed to ++1, that is
<li><a href=""><img src="img/gl/001.jpg" alt="dw" /></a></li>
<li><a href=""><img src="img/gl/002.jpg" alt="dw" /></a></li>
<li><a href=""><img src="img/gl/003.jpg" alt="dw" /></a></li>
...
<li><a href=""><img src="img/gl/130.jpg" alt="dw" /></a></li>

How to do it in Notepad++ or other software?
Thank you!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
myfirepukan, 2015-05-16
@dron_4r

I'll tell you how to do it without programming knowledge and plugins. Open excel, make 3 columns, in the first write
In the second 001, 002 ...
in the third
Now stretch these 3 columns down to 130. Now select all 3, copy paste into a textbook or html code, through CTRL + H delete the gap from different columns in excel. PROFIT!! ))

D
Denis Malinochkin, 2015-05-16
@DiAsCrafts

Install emmet (instruction for notepad++) , write in an HTML file:
Then put the cursor after 0 and press the tab key .

M
Mikhail Ivanov, 2015-05-18
@Mikhael1979

copy the line in notepad++

<li><a href=""><img src="img/gl/001.jpg" alt="dw" /></a></li>
the required number of times, select the vertical column (hold down Sift+Alt) to be filled, and in the Edit menu (it seems) look for the "Fill..." command. Next will be a simple graphical interface, you'll figure it out. =)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question