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
/
^[A-Za-z].*\R\K[0-9](?=\R0$)
/
gm
Test String
New
ABC 5 0 gdfgdfg ----------- GHN 0 ffffffff fffff ffff trte ------------- H 1 0 ----------------
Extraction
Processing...