Regular expressions can texting verification number, such as PHS number and phone number (area code + number 106+)

Phone (not critical): ^. 1 [3,5,8] \ {D} $. 9

PHS: ^ 1060. [1-9] \ D {1,2} \ {7, 8} $ D

Which, if there is a better, please let us know !!!

Reproduced in: https: //www.cnblogs.com/guoxiaowen/archive/2009/11/24/1609498.html

Guess you like

Origin blog.csdn.net/weixin_33755557/article/details/93697790