Regular Expressions 101

Community Patterns

0

Adds ;

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

f

PCRE (PHP <7.3)
f
Submitted by anonymous - 4 years ago

Decimal numbers (plus exponent)

1

Regular Expression
PCRE (PHP <7.3)

/
^-?(0?|[1-9]+\d*)(\.(0{1}|0*[1-9]+\d*)(e\d+)?)?$
/

Description

Loading markdown...
Submitted by Mirco Sanguineti - 7 years ago