Test, validate and match regular expressions
Matches HTML anchor tags with href attributes, capturing the URL and link text. The first capture group extracts everything between the href quotes (the URL), while the second captures all content between the opening and closing tags. Commonly used for web scraping and link extraction from HTML pages, though it's not robust against nested tags or malformed markup.