Extract the domain name from a URL
This is the simplest solution to the Code Wars kata Problem I solved today.
Here is the instruction:
Write a function that when given a URL as a string, parses out just the domain name and returns it as a string. For example:
* url = "http://github.c...
denniskestone.hashnode.dev1 min read