Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Created·2022-10-18 09:20
Flavor·PCRE2 (PHP)

/
(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}
/
gm
Open regex in editor

Description

匹配中国🇨🇳大陆手机号码

Submitted by Akko