Regular Expressions 101

Community Patterns

Lb4 8-15

0

Regular Expression
PCRE (PHP <7.3)

/
((?<!\S)[1-9]([0-9]{0,2})([,]?[0-9]{3})*\.[0-9]*[1-9](?!\S))|((?<!\S)[1-9]([0-9]{0,2})([\s]?[0-9]{3})*\.[0-9]*[1-9](?!\S))
/
g

Description

no description available

Submitted by anonymous - 6 years ago