strip () and get value
<p>I have a html list that looks like this:</p>

<ul>
<li>animals (45)</li>
<li>houses (36)</li>
<li>computers (96)</li>
</ul>

<p>I want to get all the values inside those <code>()</code> and make like <code>$sum = 45+36+96;</code></p>

<p>How can I do that?
Thanks</p>
