Dart Regexp replace all but numbers and allow once . or ,

前端 未结 0 1180
后悔当初
后悔当初 2021-02-06 00:33

I need to replace everything that is not a number and allow only the first , or ..

final string = _lengthController.text?.replaceAll(Reg         


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