Build, test, and debug regular expressions
This regex parses URLs by capturing the protocol (http/https), domain name, path, query parameters, and hash fragment. It breaks down a full URL into its constituent parts for easier processing and analysis of web addresses. The pattern is case-insensitive and handles the standard components of a URL, making it useful for URL validation, web scraping, or routing applications.