title: How to get text between nested parentheses?
body: <p>Reg Expression for Getting Text Between parenthesis ( ), I had tried but i am not getting the RegEx. For this example </p>
  
  <p><code>Regex.Match(script, @"\((.*?)\)").Value</code></p>
  
  <p>Example:-</p>
  
  <pre><code>add(mul(a,add(b,c)),d) + e - sub(f,g)
  
  Output =&gt;
  
  1) mul(a,add(b,c)),d
  
  2) f,g
  </code></pre>