title: Regex in Javascript to remove links
body: <p>I have a string in JavaScript and it includes an <code>a</code> tag with an <code>href</code>. I want to remove all links <strong>and</strong> the text. I know how to just remove the link and leave the inner text but I want to remove the link completely.</p>
  
  <p>For example:</p>
  
  <pre><code>var s = "check this out &lt;a href='http://www.google.com'&gt;Click me&lt;/a&gt;. cool, huh?";
  </code></pre>
  
  <p>I would like to use a regex so I'm left with:</p>
  
  <pre><code>s = "check this out. cool, huh?";
  </code></pre>