I need to clean up some HTML files and need to find either open tags where there is no closing tag or closing tags where there is no open tag.
For example.
blah blah blah blah </i> blah blah </i>blah blah <i> blah blah blah </i>
How can I do a search that would find </i> followed by another </i> but ignore it of there was a <i> between it? I have tried </i>[A-Za-z0-9 [:punct:][^(<i>)]*</i> but that isn't doing it.
thanks.
Cleaning up HTML
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
mridew