Community Patterns

Community Library Entry

1

Regular Expression
Created·2015-08-12 19:52
Flavor·ECMAScript (JavaScript)

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

Description

5 digits and no 0 5/4 times

Submitted by Ashish