Regular Expressions 101

Community Patterns

Community Library Entry

-2

Regular Expression
ECMAScript (JavaScript)

/
^(\d+(-\d+)?)(,(\d+(-\d+)?))*$
/

Description

no description available

Submitted by Eugene - 10 years ago