Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
(13[4-9]|14[7-8]|15[0-27-9]|178|18[2-47-8]|198|13[0-2]|14[5-6]|15[5-6]|166|17[5-6]|18[5-6]|133|149|153|17[37]|18[0-19]|199|17[0-1])[0-9]{8}
/
gm

Description

Matches all assigned mobile phone number blocks in Mainland China. Including CMCC, CHN-UNICOM, CHN-TELECOM, and various MVNOs.

Submitted by anonymous - 6 years ago