Build, test, and debug regular expressions
Matches HTTP and HTTPS URLs with optional subdomains like 'www.' or named subdomains (e.g., blog., shop.). It captures the protocol, forward slashes, optional subdomain prefix, and the main domain with its TLD (e.g., http://example.com or https://www.site.org). Useful for extracting or finding web links in text, logs, or documents. Note: the unescaped dot in the subdomain group matches any character, making it slightly permissive but functional for typical URLs.