电话号码

((\d{11})|^((\d{7,8})|(\d{4}|\d{3})-(\d{7,8})|(\d{4}|\d{3})-(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1})|(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1}))$)


匹配格式:
11位手机号码
3-4位区号,7-8位直播号码,1-4位分机号

如:12345678901、1234-12345678-1234


Reference: http://www.cnblogs.com/flyker/archive/2009/02/12/1389435.html

你可能感兴趣的:(手机,reference,电话)