Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
^[1-9]\d{5}[1-9]\d{3}((0[1-9])|(1[0-2]))(((0[1-9])|3[0-1])|(([1|2]\d)|3[0-1]))\d{3}([0-9]|X)$
"
g

Description

no description available

Submitted by anonymous - 8 years ago