only seems to validate the protocol <https://docs.oracle.com/javase/8/docs/api/java/net/URL.html#URL...
b
e
Because everything else is basically valid url if it has protocol 🤔 You might want to just google regexes to validate domain names, if you're implying that
👍 1