B
B
Black_Fire2020-10-02 18:38:11
Regular Expressions
Black_Fire, 2020-10-02 18:38:11

How to write a complex regular expression in Sublime?

There is this markup with broken tags:

<ul>
< li>цвет: синий< / li>
< li > Материал: ПВХ< / li>
< li>Размер: 80 * 40см< / li>
< li>вес: 123 г< / li>
</ul>


The output should look like this:
<ul>
<li>Цвет: синий</li>
<li>Материал: ПВХ</li>
<li>Размер: 80 * 40см</li>
<li>Вес: 123 г</li>
</ul>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
idShura, 2020-10-02
@idShura

Just do a search and replace"< / " на "</"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question