Regular Expressions 101

Community Patterns

There does not seem to be anything here

Community Library Entry

2

Regular Expression
ECMAScript (JavaScript)

/
(^\d{4}\d$|^\d{4}\d-\d{4}$)
/
gm

Description

refactor

Submitted by jay johnson - 11 years ago