title: How to extract domain name from url?
body: <p>How do I extract the domain name from a url using bash?
  like: <a href="http://example.com/" rel="noreferrer">http://example.com/</a> to example.com
  must work for any tld, not just .com</p>