How to extract text between round brackets?
<p>I would like to extract the text within () brackets. The string looks like this: It is within the  </p>

<pre><code>Some text: 5 (some numbers) + some more numbers
asdfkjhsd: 7 (6578) + 57842
djksbcuejk: 4 (421) + 354
</code></pre>

<p>My javascript looks like this:</p>

<pre><code>var fspno = document.getElementsByTagName("td")[142].innerText;
var allfsp = fspno.match();
</code></pre>

<p>I want this script to collect all numbers within the brackets in an array. I used</p>

<pre><code>fspno.match(/\((.*?)\)/g);
</code></pre>

<p>but it returned with the brackets. I want only the text inside the brackets.
Any help would be appreciated. Thanks.</p>
