Regular Expressions 101

Community Patterns

There does not seem to be anything here

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
^(\b(\d+((-\d+)?))((\s|,)*))*$
/
gm

Description

This pattern needs to validate serial number

Submitted by Raj - 3 years ago