Regular Expressions 101

Community Patterns

10

UUID

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

Four-Digit Leap Years post-Y0 (AD/BCE) (Museum of Bad Data)

1

Regular Expression
ECMAScript (JavaScript)

/
^(\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)$
/
gm

Description

Loading markdown...
Submitted by Philip Flip Kromer - 7 months ago