Regular Expressions 101

Community Patterns

1...34567...902

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
^\+?[1-9][0-9]*$
/

Description

只能输入大于0的整数

Submitted by anonymous - 5 years ago