R
R
RudFox2020-02-18 12:36:38
Notepad++
RudFox, 2020-02-18 12:36:38

How to wrap all links with your code?

There is a list of links of more than 2000 pieces (each with a new line) of this kind:
https://domain/categories/subcategories/page-name/
Please tell me how to wrap each link in Notepad++ with code so that it looks like this:

<div class="название">	
<p>https://домен/категории/подкатегории/название-страницы/</p>
</div>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AUser0, 2020-02-18
@RudFox

Need a multi-line result? For the browser, multiline is not required...
Search ^([^\n]+)
string: Replacement string: <div class="название"><p>\1</p></div>
Multiline replacement string:<div class="название">\n<p>\1</p>\n</div>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question