I need a regexp to strip out just the domain name part of a url. So for example if i had the following url:
http://www.website-2000.com
the bit I\'d want the
Let me introduce you this wonderful tool txt2re: regular expression generator
Here you can experiment with regex and generate code in many languages.