Regular Expressions 101

Library entries

数字/货币金额(支持负数、千分位分隔符)

Vote

0

Regular Expression
javascript

/
^-?\d+(,\d{3})*(\.\d{1,2})?$
/

Description

Loading markdown...
Submitted by anonymous - 2 years ago