Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Regular
Expressions
101
Regular
Expressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
[^.]*\.[^.]{2,3}(?:\.[^.]{2,3})?$
/
mg
Input 1
1
New
http://www.answers.com/article/1194427/8-habits-of-extraordinarily-likeable-people http://www.apple.com http://www.cnn.com.au http://downloads.news.com.au http://ftp.android.co.nz http://global.news.ca http://www.apple.com