Test, validate and match regular expressions
This regex matches HTTP and HTTPS URLs, specifically focusing on those that contain a query string separated by a question mark. It captures the base URL and path into the first group, and the query parameters into the second group. It is useful for parsing web addresses to extract routing information or query arguments.