Build, test, and debug regular expressions
This regex extracts the canonical URL from HTML link tags in web pages. It captures the href attribute value from `<link rel="canonical">` elements, which are commonly used in SEO to specify the preferred version of a webpage. Useful for web scraping, SEO auditing, and HTML parsing tasks where you need to identify duplicate content references.