Regular Expressions 101

Community Patterns

0

request

PCRE (PHP <7.3)
no description available
Submitted by anonymous - 3 years ago

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

0

Regular Expression
PCRE (PHP <7.3)

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

Description

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