J
John Butler
Hi,
I could have a any web address, www.yahoo.com, http://yahoo.com/,
http://www.yahoo.com/, http://www.yahoo.co.uk/ so i want i need is some
ruby code that will always return the domain name "yahoo.com"
Im not sure what the best way to this as the domain name isnt always in
the same format.
Anyone got some ideas on how to get this as accuarte as possible??
JB
I could have a any web address, www.yahoo.com, http://yahoo.com/,
http://www.yahoo.com/, http://www.yahoo.co.uk/ so i want i need is some
ruby code that will always return the domain name "yahoo.com"
Im not sure what the best way to this as the domain name isnt always in
the same format.
Anyone got some ideas on how to get this as accuarte as possible??
JB