Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
^[0-9]*((0)1[23456789]|(0|1)2[3456789]|(0|1|2)3[456789]|(0|1|2|3)4[56789]|(0|1|2|3|4)5[6789]|(0|1|2|3|4|5)6[789]|(0|1|2|3|4|5|6)7[89]|(0|1|2|3|4|5|6|7)8(9))[0-9]*$
"
gmx

Description

no description available

Submitted by anonymous - 8 years ago