Build, test, and debug regular expressions
This regular expression matches domain names and optionally includes the HTTP/HTTPS protocol and a trailing slash. It captures multi-level domains (like sub.example.com) and supports common country-code suffixes (like .co.uk). It is highly useful for extracting or validating URLs and domain names from large bodies of text.