Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE2 (PHP >=7.3)

/
^[+-]?\d*\.?\d+?$
/
gm

Description

Se soportan los números de la forma +2.3, +.34, 2.3, .5, -3.3, -.3

Submitted by anonymous - a year ago