Build, test, and debug regular expressions
This regex matches HTTP and HTTPS URLs with various optional components. It captures protocol (http/https), optional authentication credentials, domain names or IP addresses, port numbers, paths, query strings, and fragments. The pattern is useful for URL validation or extraction in text content.