Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2021-03-16 13:14
Flavor·PCRE2 (PHP)

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

Description

remove currency symbol, remove commas

Submitted by RWCorbett