摘要: 通过正则表达式判断URL是否合法 判断是否是淘宝的网址 function testUrl(url) { let match2 = /^((http|https):\/\/)+([\w\-])+\.(tmall|taobao).com/; let testVol = match2.test(url); 阅读全文
posted @ 2020-09-23 16:15 云悠 阅读(8931) 评论(0) 推荐(0) 编辑