Title |
Test
Find
Clean Domain Name
|
Expression |
^http\://www.[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}/$ |
Description |
This regex only matches clean domain names. No path after. Ends in a forward slash. Starts with http://www. It is pretty slack on the TLD requiring a 2 or 3 letter ending. This part could be tightened up if you wanted to be restrict it to specific TLDs. |
Matches |
http://www.somedomain.co.uk/ | http://www.somedomain.com/ | http://www.dodgydomain.com.com/ |
Non-Matches |
http://www.somedomain.co.uk/withpath.aspx | http://somedomainwithoutwww.co.uk | http://www.com/ | www.noprotocolprefix.com/ | https://www.secureprotocolprefix.com/ | http://www.notrailingslash.co.uk | HTTP://WWW.beginswithcaps.com/ |
Author |
Rating:
Matthew Harris
|
Source |
|
Your Rating |
|
Title: rs runescape gold
Name: www.GameGoldFactory.com
Date: 11/18/2012 11:17:32 PM
Comment:
www.GameGoldFactory.com is the best place to buy rs gold, runescape gold