验证网址URl的正则表达式

^(http(s)?:\/\/)?(www\.)?[\w-]+\.(com|net|cn)$

验证网址的完整性

posted @ 2011-03-11 17:56  历程  阅读(721)  评论(0编辑  收藏  举报