Still one of my favorite StackOverflow answers.
#regex #programming #xml #html
RegEx match open tags except XHTML self-contained tags
I need to match all of these opening tags: But not self-closing tags: I came up with this and wanted to makeStack Overflow

Ercanbrack
in reply to Aaron Toponce ⚛️ • • •Aaron Toponce ⚛️
in reply to Ercanbrack • • •@ercanbrack The moderator's note at the bottom cracks me up.
"This post is locked to prevent inappropriate edits to its content. The post looks exactly as it is supposed to look - there are no problems with its content. Please do not flag it for our attention."
Ercanbrack
in reply to Aaron Toponce ⚛️ • • •Aaron Toponce ⚛️
in reply to Ercanbrack • • •Ercanbrack
in reply to Aaron Toponce ⚛️ • • •