Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
(\d+)\s?([^\d]*)
/
gm
Input 1
1
New
838123 someWord 8 someWord 12 someWord 43434 of someword 12 anything someword 2323 new someword
Extraction