Test, validate and match regular expressions
This regex extracts video source URLs from HTML video tags, specifically capturing the src attribute value up to the first question mark. It's useful for parsing video content from web pages while excluding query parameters. The named capture group 'src' makes it easy to reference the extracted URL in your code.