title: Use php to trim URL to just domain name by removing protocol and path
body: <p>Given "<a href="http://google.com/path-to-page" rel="nofollow noreferrer">http://google.com/path-to-page</a>" trip to "google.com"</p>
  
  <p>What php and regex would be appropriate?</p>