Test, validate and match regular expressions
Matches full URLs using the http, https, or ftp protocols, capturing the scheme, domain, optional port, path, and query string as separate groups. A negative lookbehind excludes URLs preceded by a double quote (e.g., HTML href attributes), making it useful for extracting plain-text links from HTML documents without double-processing embedded links. It also handles special query-string characters while avoiding HTML entities like >.