Regular Expressions 101

Community Patterns

Floating point numbers

0

Regular Expression
PCRE (PHP <7.3)

/
([1-9][0-9]*[eE][1-9][0-9]*|(([1-9][0-9]*\.)|(\.[0-9]+))([0-9]*)?([eE][\-\+]?[1-9][0-9]*)?)
/
mg

Description

no description available

Submitted by anonymous - 3 years ago