常用正则表达式

校验有效的URL

(https?|ftp|file)://[-A-Za-z0-9+&@#/%?=~_|!:,.;]+[-A-Za-z0-9+&@#/%=~_|]
原文地址:https://www.cnblogs.com/gloryhope/p/11810290.html