I have some html where there are some unopened </i> tags on a per line basis and I want to delete them. I.e. in this line there are two of these.
αντιστρόφως, </i>συνήθως βρίσκεται <i>ο</i> αντί <i>ο</i>, βλ. <i>ο</i>, έπειτα, παροδηγώ, παραπλανώ</i>, λέγεται για
I got as far as matching well formed ones:
<i>(.*?)</i>
But then the only thing I could come with was do a find a replace on the remaining text (which would ignore the matched ones) to delete the remaining instances of closing tag (which is unopened), if somehow the matched text was excluded.
I tried an html tidy extension on Notepad++ but it would break lines and add irrelevant code.
Any ideas?