Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
"
(\$\d+(?:\.\d+)?)[^,\"]*account [1-3]
"
g
Input 1
1
"Charges: $400.50 applied to account 1, $300.70 applied to account 2, $120.30 applied to account 3" "Charges: $500.50 applied to account 2, $200.10 applied to account 3, $150.90 applied to account 1"