Test, validate and match regular expressions
Extracts 11-character YouTube video IDs from URLs in multiple formats: standard watch links (youtube.com/watch?v=), short links (youtu.be/), embed paths (/embed/, /v/, /e/), privacy-enhanced youtube-nocookie.com domains, and channel-style paths. The video ID is captured in group 1 and consists of word characters or hyphens. Useful for parsing, validating, or extracting video identifiers from text content.