title: Javascript/regex: Remove text between square brackets
body: <p>Would it be possible to change this:</p>
  
  <pre><code>Hello, this is Mike [example]
  </code></pre>
  
  <p>to this:</p>
  
  <pre><code>Hello, this is Mike
  </code></pre>
  
  <p>Using JS + Regex? Thank you.</p>