Test, validate and match regular expressions
Extracts 11-character YouTube video IDs from various URL formats including standard youtube.com watch URLs, embed URLs, youtu.be short links, and alternative path formats. It matches patterns with query parameters like `?v=`, `/embed/`, `/v/`, `/vi/`, numeric segments, and `youtu.be/`. Useful for parsing YouTube links to retrieve video identifiers for API calls or embedding.