title: Strip all domains except one from string
body: <p>I got string like 'facebook.com somenickname google.com example.com'. I mean there's a string that can contain multiple urls and my domain - example.com. I want to strip all the urls from that string except "example.com", so output would be like " somenickname  example.com"</p>
  
  <p>I tried to use the following regex, but don't know how to exclude my domain. </p>
  
  <pre class="lang-js prettyprint-override"><code>string.replace(/(https?:\/\/)?(www.)?[a-zA-Z0-9][a-zA-Z0-9-]{1,61}[a-zA-Z0-9]\.[a-zA-Z]{2,}\/?/i, '').trim()
  </code></pre>
  
  <p>Thanks for help!</p>