This regex is used to extract a domain name (including subdomains) and the full URI from a URL. will not match when credentials are provided in the url.