摘要: let reg = /^(?:(http|https|ftp):\/\/)?((?:[\w-]+\.)+[a-z0-9]+)((?:\/[^/?#]*)+)?(\?[^#]+)?(#.+)?$/i;let str = 'https://www.zhufeng.cm';console.log(reg. 阅读全文
posted @ 2020-04-24 16:40 Ck刺客 阅读(1339) 评论(0) 推荐(0) 编辑