Build, test, and debug regular expressions
Matches and captures a complete HTML <h1> heading element, including the opening tag with any attributes, its inner content, and the closing </h1> tag. The lazy quantifiers (.*?) ensure minimal matching, so it stops at the first closing tag rather than spanning across multiple headings. Commonly used for extracting page headings in web scraping, HTML parsing, or SEO analysis.