Test, validate and match regular expressions
This regex matches URLs with or without the HTTP/HTTPS protocol, optionally including the 'www.' subdomain. It identifies standard domain names, top-level domains (up to 6 characters), and any subsequent URL paths, query parameters, or fragments. It is commonly used to extract web links from large bodies of text or HTML documents.