Regular Expressions 101

Community Patterns

10

UUID

ECMAScript (JavaScript)
no description available
Submitted by anonymous - 9 years ago
10

entity

Python
no description available
Submitted by anonymous - 8 years ago

4-digit numeric w/o leading zero and no repeat digits

1

Regular Expression
PCRE (PHP <7.3)

/
^([1-9])(?!\1)([0-9])(?!\1|\2)([0-9])(?!\1|\2|\3)([0-9])$
/
gm

Description

Loading markdown...
Submitted by anonymous - 9 years ago