正则表达式

1、匹配国内电话的:/(^(\d{3}-)?\d{8}$)|(^(\d{4}-)?\d{7}$)/;

posted on 2015-08-05 14:37  冰上逐狐  阅读(109)  评论(0编辑  收藏  举报