DEV Community 👩‍💻👨‍💻

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

Collapse
eyemyth profile image
Jay Thompson • Edited on

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