title: Javascript regex to trim spaces within parenthesis
body: <p>What is the javascript regex to trim spaces within parenthesis <em>only</em>? </p>
  
  <p>For example, given</p>
  
  <pre><code>balance( 11010000 ) / balance( 11050000 )
  </code></pre>
  
  <p>it should return</p>
  
  <pre><code>balance(11010000) / balance(11050000)
  </code></pre>