Build, test, and debug regular expressions
Matches web URLs with an optional http:// or https:// protocol prefix followed by domain-style segments of alphanumeric characters and hyphens separated by dots. Captures domains like example.com or www.example.com in text. Note: the unescaped dot in the middle group matches any character rather than a literal period, which may cause false positives. Useful for basic URL extraction and domain validation with the global flag for finding all matches.