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
r"
(?<!\d)89\d{17,18}(?!\d)
"
g
Input 1
1
New
8912345678901234567 89123456789012345678 891234567890123456789 word8912345678901234567word ----89123456789012345678----
Substitution
8912345678901234567 89123456789012345678 891234567890123456789 word8912345678901234567word ----89123456789012345678----