Test, validate and match regular expressions
Matches URLs including optional http/https protocol, optional www prefix, domain name with a 2-6 letter TLD, an optional port number validated against the valid range (0-65535), and optional path segments. Negative lookarounds for '@' prevent falsely matching email addresses. Useful for extracting links from unstructured text with case-insensitive, global matching.