Test, validate and match regular expressions
This regular expression matches URLs from Getty Images, including domain variations like 'gettyimages.com' or 'gty.im', specifically targeting paths containing '/license/' or '/detail/'. It optionally matches the HTTP/HTTPS protocol and the 'www.' subdomain, while capturing the numeric image ID into the first capturing group. It is highly useful for extracting asset IDs from web links in text processing or data scraping applications.