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
/
(?!(?:\D*\d){14}$|(?:\D*\d){1,3}$)\d
/
gm
Input 1
1
New
71088-987876-54-351 7108898787654351 7108-8987-8765-4351 7-108-8--9-87-8--7-6-5-43-5-1
Substitution
*
71088-987876-54-351 7108898787654351 7108-8987-8765-4351 7-108-8--9-87-8--7-6-5-43-5-1