Regular Expressions 101

Library entries

Integers and Decimals

Vote

-1

Regular Expression
pcre

/
^-?(\d+|\d{1,3}(?:\,\d{3})+)?(\.\d+)?$
/
gm

Description

Loading markdown...
Submitted by Franz Alex Gaisie-Essifie - 6 years ago