Test, validate and match regular expressions
This regular expression matches HTML image tags and specifically extracts the source URL into a named capturing group called 'src'. It is designed to handle both single and double quotes around the URL attribute and can be used in web scraping tasks to find images. The included case-insensitive flag ensures it successfully matches variations of the tag, such as `<IMG>` or `<img>`.