Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
^\d{8}(0\d|10|11|12)([0-2]\d|30|31)\d{3}$
/

Description

身份证号(1代,15位数字)

Submitted by anonymous - 5 years ago