How to rip a URL like http://www.facebook.com/pages/create.php to have a result like this: www.facebook.com
?
I tried this way, but doesn't work:
line.split('/', 2)[2]
My problem is probably with that two forward slashes // and some of the URLs start from the www strings.
Thanks for your help, Adia