Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Java 8

"
(([1-9]\d{5})(18|19|([23]\d))\d{2}((0[1-9])|10|11|12)([0-2][1-9]|10|20|30|31)(\d{3}[0-9Xx]))|(^[1-9]\d{5}\d{2}(0[1-9]|10|11|12)(([0-2][1-9])|10|20|30|31)\d{2})
"
gm

Description

打断点

Submitted by anonymous - 3 years ago