Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Regular
Expressions
101
Regular
Expressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
(\d+)(.*?)someword
/
gm
Test String
New
43434 of someword 877 someword 123 someword 12 anything someword 2323 someword
Extraction
Processing...