title: Javascript regex to remove string inside bracket
body: <p>I'd like to remove character between <code>{</code> and <code>}</code>.</p>
  
  <p>Example : </p>
  
  <pre><code> input_string = "i like apple {nobody knows}";
  </code></pre>
  
  <p>expected result :</p>
  
  <pre><code>"i like aple"
  </code></pre>