Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
(^[0-9]{1,11}$)|(^[0-9]{1,11}[\\.]{1}[0-9]{1,2}$)
/
gm

Description

11位正整数,两位小数

Submitted by anonymous - 6 years ago