正则匹配 数字,包括小数负数

^(-|+)?d+(.d+)?$
原文地址:https://www.cnblogs.com/-7999/p/13225439.html