title: PHP Help REGEX / Explanation
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3820666/grabbing-the-href-attribute-of-an-a-element">Grabbing the href attribute of an A element</a>  </p>
  </blockquote>
  
  
  
  <pre><code>&lt;td class="lbs" colspan="4"&gt;
      &lt;span&gt;4 Pack.&lt;/span&gt;
      &lt;span&gt;
          &lt;span class="strike"&gt;20.5&lt;/span&gt;
          &lt;span class="lbs"&gt;9.5&lt;/span&gt;
      &lt;/span&gt;
  &lt;/td&gt;
  </code></pre>
  
  <p>Hey guys! I need some help. I've tried my best searching for an answer but i seem to have hit a wall.</p>
  
  <p>I'm using curl to grab the piece of code from multiple pages above.</p>
  
  <p>I'm trying to grab each of the values e.g. "4 pack., 20.5, 9.5" and assign them to a variable so i can pass them to a db.</p>