RegEx isn't allowing optional decimal

后端 未结 0 1888
醉梦人生
醉梦人生 2021-01-13 11:39

I am taking an input from the user and want to remove letters from the string so that only the numbers are left and if there is a decimal, it is also left. This is my code:<

相关标签:
回答
  • 消灭零回复
提交回复
热议问题