Regular Expressions 101

Community Patterns

extract price from text

1

Regular Expression
PCRE (PHP <7.3)

/
\d+(,\d{1,2})
/
g

Description

no description available

Submitted by mku - 8 years ago