Test, validate and match regular expressions
Matches a URL-like string with a one-character protocol scheme followed by ://, optionally repeated path segments containing letters, digits, hyphens, underscores, or spaces, and a final filename with an extension. Useful for identifying simple URIs or, in some contexts, Windows drive paths written with slashes. The flags gm allow matching across multiple lines.