Build, test, and debug regular expressions
Matches HTML header tags (h1-h6) and their content in an HTML document. It captures the heading level number and uses a backreference to ensure proper opening/closing tag matching (e.g., <h1>...</h1>). Useful for extracting or processing all headers in web pages for content analysis, SEO auditing, or document structure parsing.