Test, validate and match regular expressions
This regular expression matches a URL string that includes a specific port number at the end. It captures the protocol, domain name, top-level domain (TLD), and a port number consisting of 2 to 5 digits. It is useful for validating or parsing web addresses where the port is explicitly defined, such as http://example.com:8080.