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
/
(([0-9]+\s?)+)\$
/
g
Input 1
1
New
player number 8 have a nice day. the price is 1 000 $ or you have to pay 2000$.