Build, test, and debug regular expressions
This regex matches HTML `<link>` elements used to define favicon resources within a document's head section. It captures the href URL when it points to `.png` or `.ico` files, and also matches links with icon-related MIME types (`image/png`, `image/vnd.microsoft.icon`, `image/x-icon`) or rel values like `icon`, `shortcut icon`, or `apple-touch-icon`. Common use cases include extracting favicon URLs from HTML pages during web scraping or site analysis.