Answer the question
In order to leave comments, you need to log in
How to cut links between divs?
Good evening, here you go
<div class='doppole1' id="favicon">www.site.ru/cat/504681</div>
leave it like that<div class='doppole1' id="favicon">www.site.ru</div>
, i.e. so that only the domain itself remains
Answer the question
In order to leave comments, you need to log in
Well, given the question tags, for notepad++ it would be like this:
Find:
Replace with: (<div .*>)(.*?)\/.*(<\/div>)
\1\2\3
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question