06 2015 档案
jquery正则匹配URL地址
摘要:JQuery代码:var regexp = /((http|ftp|https|file):\/\/([\w\-]+\.)+[\w\-]+(\/[\w\u4e00-\u9fa5\-\.\/?\@\%\!\&=\+\~\:\#\;\,]*)?)/ig; var url = $('#mytest').h... 阅读全文
posted @ 2015-06-08 16:49 幸福之家128817 阅读(3161) 评论(0) 推荐(0)