正则表达式,匹配整数小数

/^\d+(\.\d+)?$/

posted @ 2017-01-03 16:50  cgcg  阅读(244)  评论(0)    收藏  举报