Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
domain_check
Open Workspace
Python
Match
Created 2020-10-26 02:50
0
Regular Expression
r"
^
(?:
(
[
a
-
zA
-
Z
]
[
\w
-
]
*
)
\.
)(?:
(
[
\w
-
]
*
)
\.
)(?:
(
[
\w
-
]
*
)
\.
)(?:
(
[
\w
-
]
*
)
)
$
"
gm
Description
check if a gives string is a domain 检查一个给定的字符串是不是域名
Submitted by
Anonymous