php 金额 正则

'/(^[1-9]([0-9]+)?(.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9].[0-9]([0-9])?$)/'
原文地址:https://www.cnblogs.com/zlking/p/13267528.html