摘要: 这个还不错,很有用。 tel='验证的电话号码'; $isMob="/^1[3-8]{1}[0-9]{9}$/"; $isTel="/^([0-9]{3,4}-)?[0-9]{7,8}$/"; if(!preg_match($isMob,$tel) && !preg_match($isTel,$te 阅读全文
posted @ 2016-05-24 10:56 ycookiee 阅读(1178) 评论(0) 推荐(1) 编辑