Regex a decimal number with comma

前端 未结 3 1303
清歌不尽
清歌不尽 2021-01-05 16:50

I\'m heaving trouble finding the right regex for decimal numbers which include the comma separator.

I did find a few other questions regarding this issue in general

3条回答
  •  失恋的感觉
    2021-01-05 17:23

    . means "any character". To use a literal ., escape it like this: \..

    As far as I know, that's the only thing missing.

提交回复
热议问题