Regular Expressions 101

Community Patterns

匹配正整数和英文逗号

0

Regular Expression
ECMAScript (JavaScript)

/
^([1-9]+\d*,?)+$
/
g

Description

no description available

Submitted by anonymous - 3 years ago