Regex for Accepting Floating Point numbers in both English and Persian language

前端 未结 0 1695
栀梦
栀梦 2020-12-13 17:24

A regex which accepts Floating Point numbers in English and Persian just like a calculator, this Regex accepts the following patterns: 1.2 accept 0.3 accept 0 accept .0 not

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