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
/
^(?:\+|0|\(\d+\)) ?(?:[0-9] ?){6,14}[0-9]$
/
Unit Tests
12
34
56
78
90
12
34
56
→ regex does not match
Telefon
→ regex does not match
0711/123456
→ regex does not match
123456
→ regex does not match
0711
123456
→ regex does match
0049
711
123456
→ regex does match
+49
711
12
34
56
→ regex does match
(0711)
1234546
→ regex does match
+49
711
123456
→ regex does match