Regex validation on decimal

后端 未结 2 502
一生所求
一生所求 2021-01-21 08:35

I am using the following regex to validate decimal numbers with dot .

/^[0-9]*\\.?[0-9]*$/

It works fine for all the cases except

2条回答
提交回复
热议问题