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
/
\b(?=\d{4}\b)8*(?:18*0|08*1)8*\b
/
gm
Input 1
1
New
0188 0818 0881 1088 1808 1880 8018 8081 8108 8180 8801 8810 01 801
Substitution
0188 0818 0881 1088 1808 1880 8018 8081 8108 8180 8801 8810 01 801