Regular Expressions 101

Library entries

验证金额 "-999999999.99 ~ 999999999.99" ,小数点保留2位

Vote

0

Regular Expression
pcre2

/
^-?\d{0,9}(\.\d{1,2})?$
/
gm

Description

Loading markdown...
Submitted by cp.l - 10 months ago