Test, validate and match regular expressions
This regular expression matches HTML anchor (`<a>`) tags and captures the text before the link, the `href` URL, the anchor text, and the text after the link into named capturing groups. It is useful for parsing and extracting hyperlinks along with their surrounding context from HTML documents. Note that it lazily matches the content and expects both opening and closing anchor tags.