Test, validate and match regular expressions
This regex extracts URLs from HTML by matching the value inside href attributes (href="..."). It captures everything between the quotes, making it ideal for scraping or parsing links from HTML documents. The global flag ensures all occurrences are found throughout the text.