Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
`
\Agoogle(?:\.(?:[a-z]{1,2}|[a-z]{4,}|[^c.][a-z]{2}|[a-z][^o.][a-z]|[a-z]{2}[^m.])|\.com\.(?:[a-z]|[a-z]{3,}|[^a.][a-z]|[a-z][^u.])|(?:\.[a-z]+){3})(?:\.[a-z]+)*\z
`
Unit Tests