title: Regular Expression for selecting braces with numeric values and ignoring whitespace within the braces
body: <p>I have a string which looks something like this</p>
  
  <pre><code>(100) + (1000    )
  </code></pre>
  
  <p>I have to select both numbers along with braces ignoring the whitespace within them.</p>
  
  <p>I was able to select (100) using the expression</p>
  
  <pre><code>\(-?[0-9]\d*(\.\d+)?\)
  </code></pre>
  
  <p>But I could not find any way to select (1000   ) where I can ignore spaces.</p>
  
  <p>Can anyone help me out with this?</p>