Regular Expressions 101

Community Library Entry

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 - 7 years ago