(Solved) RegEx match open tags except XHTML self-contained tags
Locked. There are disputes about this answer’s content being resolved at this time. It is not currently accepting new interactions. You can’t parse [X]HTML with regex. Because HTML can’t be parsed by regex. Regex is not a tool that can be used to correctly parse HTML. As I have answered in HTML-and-regex questions here so … Read more