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]+[^\r\n]?)|(?<=,)([0-9]+[^\r\n]?)
/
gm
Input 1
New
# Here are some numbers such as 34 and 53 34 53 124 # Here's a number 45 44 # And a final number 72 # And here's a legacy set of comma separated numbers 23,24,25
Extraction
# Here are some numbers such as 34 and 53 34 53 124 # Here's a number 45 44 # And a final number 72 # And here's a legacy set of comma separated numbers 23,24,25