正则

/(http|https)://[w.]+[w/]*[w.]*??[w=&+\%]*/
原文地址:https://www.cnblogs.com/xiaobiaomei/p/10795874.html