Build, test, and debug regular expressions
Matches YouTube video URLs from standard, short (youtu.be), and nocookie domains, capturing the 11-character video ID in a group. Handles optional protocol and subdomain, and avoids matching when the URL is embedded in HTML tags. Useful for link parsing, video ID extraction, and URL validation.