I would like to know how to "grab" the price from this webpage. Here is a sample of the html... <td id="currentPrice_item3874365" class="price" style="padding:2px">39.99</td> Code (markup): Please take into consideration that the "id" tag will change with the item number.
preg_match('/<td[^>]+class\="price\"[^>]{0,}>([^<]{0,})<\/td>/i', $html, $price); PHP: Untested, but the price should be found in $price[1] - $html is obviously the page source.