V
V
venrom2016-04-20 21:23:13
Regular Expressions
venrom, 2016-04-20 21:23:13

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

1 answer(s)
V
Vladimir Kuts, 2016-04-20
@venrom

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 question

Ask a Question

731 491 924 answers to any question