JS验证URL正则表达式
网上闲逛看到一个改进版的验证url是否有效的正则表达式,最近正好有用,转来Mark一下。
原文地址:http://www.soulteary.com/2014/12/05/better-url-regexp-in-js.html
/**
* <a href="https://blog.gimhoy.com/archives/tag/%e6%ad%a3%e5%88%99%e8%a1%a8%e8%be%be%e5%bc%8f" title="View all posts in 正则表达式"……