Community Patterns

Community Library Entry

0

Regular Expression
Created·2021-10-29 13:10
Flavor·PCRE2 (PHP)

/
^-?[0-9][0-9,\.]+$
/
gm
Open regex in editor

Description

test for numeric values with digit and thousand separators (, and ,) and also negative sign (-)

Submitted by anonymous