Test, validate and match regular expressions
This regex validates IOTA node URLs by matching HTTP/HTTPS protocols, either IP-style addresses or hostnames, and a port number. It ensures URLs follow the format of protocol://address:port, which is essential for connecting to IOTA network nodes. The pattern supports both numeric IP addresses and alphanumeric domain names with optional hyphens, underscores, and dots.