Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
"amount":"[\$]?([0-9]{1,3}),([0-9]{1,3})"
/
gm

Description

remove currency symbol, remove commas

Submitted by RWCorbett - 4 years ago