this regexp will extract the homepage from an url; it will factor in the "www" if there is one, and it will accept a slash at the end