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 *){6,10}$
/
gm
Input 1
1
New
1 2345 123 45 12345 123 45678912 1 23456 123 456 123456 789 1 12 345 678 90
Substitution
1 2345 123 45 12345 123 45678912 1 23456 123 456 123456 789 1 12 345 678 90