正则(慢慢会增加)

金额正则:

let moneyReg = /^(([1-9]\d*)|(0))(\.\d{1,2})?$/

猜你喜欢

转载自blog.csdn.net/WDCCSDN/article/details/85708932