Does someone have a regex to match unclosed HTML tags? For example, the regex would match the <b>
and second <i>
, but not the first <i>
or the first's closing </i>
tag:
<i><b>test<i>ing</i>
Is this too complex for regex? Might it require some recursive, programmatic processing?