Finding label-value pairs and capturing value Jquery <p>I need to find values associated with labels that partly match a string. The block of source looks like this:</p> <pre><code> &lt;dt&gt; Loose Ones &lt;/dt&gt; &lt;dd&gt; 8.00 &lt;/dd&gt; &lt;dt&gt; Loose Fives &lt;/dt&gt; &lt;dd&gt; 15.00 &lt;/dd&gt; &lt;dt&gt; Envelope Ones &lt;/dt&gt; &lt;dd&gt; 0.00 &lt;/dd&gt; &lt;dt&gt; Envelope Fives &lt;/dt&gt; 25.00 &lt;dd&gt; </code></pre> <p>I want to find all labels that contain 'Loose' and capture the associated value then total it into a value. Jquery must have a way to do this.</p>