Test, validate and match regular expressions
This regex matches Kodi-style `image://` URIs and extracts the original image path before the thumbnail transformation parameters. It captures the base image URL into a named group called `Thumnail`. This is particularly useful if you want to strip the `/transform?size=thumb` suffix from a Kodi thumbnail link to retrieve the full-resolution image path. It is designed to be used with global and multiline flags to process multiple URLs in a text block.