I have below urls
1) https://stackoverflow.com/questions/ask?guided=true
2) https://www.youtube.com/watch?v=ClkQA2Lb_iE
3) https://trello.com/b
I need to get only the host name from the above urls. So the output should be
1) stackoverflow
2) youtube
3) trello