Build, test, and debug regular expressions
Matches URLs and breaks them into named capture groups: optional protocol (http/https), optional subdomain, hostname, domain extension (TLD), optional port number, and optional path. Designed for JavaScript, it's useful for parsing and extracting individual URL components from text, and with the global flag it can find multiple URLs in a single string.