1
Kind reminder to anyone I interview in the future: "You can't parse [X]HTML with regex." #1732454" class="text-blue-600 hover:underline" target="_blank">stackoverflow.com/questions/1732…
RegEx match open tags except XHTML self-contained tags
I need to match all of these opening tags:
<p>
<a href="foo">
But not self-closing tags:
<br />
<hr...
stackoverflow.com