Regex queries are not equipped to break down HTML into its meaningful parts. HTML is not a regular language and hence cannot be parsed by regular expressions. Regular expressions are a tool that is insufficiently sophisticated to understand the constructs employed by HTML. As I have answered in HTML-and-regex questions here so many times before, the use of regex will not allow you to consume HTML. Regex is not a tool that can be used to correctly parse HTML.
It is not currently accepting new interactions. There are disputes about this answer’s content being resolved at this time.