title: Replace string between "[]" with javascript using regexp
body: <p>I have a string coming back from a webservice the contains open brackets like such "[]"
  so the string would look like something like this:</p>
  
  <pre><code>[1] blabh balh blah
  </code></pre>
  
  <p>I would like to write a regexp that would remove the "[1]" or anything between open brackets.
  Right now I've tried something like:</p>
  
  <pre><code>var regexp = /\[[]\\]/g;
  </code></pre>
  
  <p>but this does not work.  I'm stumbling on my own two feet here.
  I simply just want to find anything that starts with "[" and ends with "]" and replace everything in the middle including the open and closed brackets.
  Any help or guidance would be much appreciated.</p>