S
S
shpakone2020-04-30 17:53:41
Sublime Text
shpakone, 2020-04-30 17:53:41

How in Sublime text 3, when searching, do not take into account what is between divs?

I have 1k pages, each page is the same in structure, but the content is different, I need to find it
with the test class, in the middle of the diva the content is different, you need to find everything and delete them

...
<div class="test">
 Lorem ipsum dolor sit amet consectetur adipisicing elit. Non veritatis animi quisquam.....
</div>
...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
Wynell_ru, 2020-04-30
@shpakone

<div flass="test">.*?<\/div>
Try this regular expression by enabling the MultiLine option.
In the sublime, where the usual replacement is, there is both the RegEx option and the MultiLine option

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question