Build, test, and debug regular expressions
Matches URLs with an optional http:// or https:// protocol prefix, followed by a multi-segment domain name (e.g., www.example.com). It also optionally captures a path composed of word characters, slashes, and dots, and a query string of key=value pairs joined by ampersands. With the multiline and global flags enabled, it is well suited for validating or extracting URLs line-by-line from logs, text files, or user input.