DEV Community

loading...

Discussion on: Daily Challenge #89 - Extract domain name from URL

Collapse
eyemyth profile image
Jay Thompson

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.)