re: Daily Challenge #89 - Extract domain name from URL VIEW POST


Actually the domain name is the whole thing - "", "", "". What do you want to get for something like ""?


Even "com" or whatever other TLD is a domain name. The most specific domain name in "www dot youtube dot com" is "www".

(edited because def dot to removed the www from my youtube URL.)

code of conduct - report abuse