Regular Expressions 101

Library entries

number with or without thousands separator(.) and decimal part(,)

Vote

0

Regular Expression
pcre

/
^-?(\d+|\d{1,3}(\.\d{3})+)(\,(\s)?\d*)?$
/
g

Description

Loading markdown...
Submitted by Basten - 7 years ago