Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
^(?:(?:[0-9])*,*)+[0-9]+$
/
g

Description

regex to match an only numbers csv

Submitted by anonymous - 7 years ago