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+\n?)+
/
mig
Input 1
1
New
15,2,3 10,255,302 204,2190,20
Substitution
15,2,3 10,255,302 204,2190,20