Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
^0\d{2,3}-?\d{7,8}$
/

Description

现在的固定电话格式应该也变了吧,应该也换成宽松的,下次用到的时候再改吧

Submitted by anonymous - 5 years ago