正则校验汇率

^[1-9]\d{0,4}(\.\d{1,2})?$|^0\.0[1-9]$|^0\.[1-9][0-9]$  汇率取值范围为: 0< 汇率 < 1000000 两位小数

posted @ 2018-01-19 16:11  要有梦想  Views(234)  Comments(0Edit  收藏  举报