What I want
I want to get from a URL the domain part so from http://example.com/ -> example.com>
URL
domain
http://example.com/
example.com>
Here's my quick and dirty solution.
http://([^/]+).*
I haven't tested it, but it should grab anything between the http:// and the first slash.
http://