Build, test, and debug regular expressions
Matches HTML header tags (h1-h9) containing nested elements with attributes and text content. Specifically designed to parse header structures that may include line breaks, paragraph tags, styled spans with class attributes, and text content including Swedish characters (å, ä, ö). Useful for extracting header content and attributes from HTML documents, particularly those containing Nordic language text.