协议值考虑http和https吧。
http(s)?:\/\/(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)+[a-z0-9][a-z0-9-]{0,61}[a-z0-9]
在https://regex101.com/ 验证了一些域名。
参看: https://regexr.com/3au3g
本来想验证顶级域名,但是在太多了。参看 https://help.aliyun.com/document_detail/35751.html