Build, test, and debug regular expressions
Matches simple URLs line-by-line, capturing an optional lowercase protocol (e.g., http, https, ftp) in a named group, followed by an optional colon and a host group that starts with '//' and ends with a dot followed by non-slash characters (such as a TLD or file extension). Commonly used for lightweight URL parsing/validation and extracting protocol/host parts, though it won't handle URLs with paths lacking a final dot or with query strings.