Regular Expressions 101

Community Patterns

There does not seem to be anything here

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
^(?!0{5})(?!0{4})[0-9]{5}$
/
gm

Description

5 digits and no 0 5/4 times

Submitted by Ashish - 10 years ago