Build, test, and debug regular expressions
Matches HTTP and HTTPS URLs, capturing the scheme, domain with subdomains, optional port number, optional path, and optional query string. The path portion allows characters like ~ # + % @ . _ - while the query string supports & = ; [ ] and more. Commonly used for extracting or validating web links in text. Note the scheme group uses a + quantifier, which technically permits repeated schemes like http://https://.