Build, test, and debug regular expressions
Matches URLs with an optional protocol scheme (e.g., http:// or https://), optional subdomain segments, and a domain name, followed by a separator character like '.', ':', '#', or parentheses before the TLD or port. Subsequent groups capture path segments, query parameters, fragments, and trailing slashes, also allowing parenthesized links. With global and multiline flags, it is useful for extracting or loosely validating all web links within blocks of text.