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
/
([a-zA-Z-]*[a-zA-Z]+\.){1,}[a-zA-Z-]*[a-zA-Z]+$
/
gm
Input 1
1
New
abc123 1edc2 -blub notthisone- ornament ---a abc123.def ---a.-----b not.-this- -inc-clude-a.this -ex-clude-.this github-bg.com.uk.bg