regex , php, preg_match

Posted by Michael on Stack Overflow See other posts from Stack Overflow or by Michael
Published on 2010-06-15T00:33:15Z Indexed on 2010/06/15 1:32 UTC
Read the original article Hit count: 396

Filed under:
|
|

I'm trying to extract the mileage value from different ebay pages but I'm stuck as there seem to be too many patterns because the pages are a bit different . Therefore I would like to know if you can help me with a better pattern . Some examples of items are the following : http://cgi.ebay.com/ebaymotors/1971-Chevy-C10-Shortbed-Truck-/250647101696?cmd=ViewItem&pt=US_Cars_Trucks&hash=item3a5bbb4100 http://cgi.ebay.com/ebaymotors/1987-HANDICAP-LEISURE-VAN-W-WHEEL-CHAIR-LIFT-/250647101712?cmd=ViewItem&pt=US_Cars_Trucks&hash=item3a5bbb4110 http://cgi.ebay.com/ebaymotors/ws/eBayISAPI.dll?ViewItemNext&item=250647101696
Please see the patterns at the following link (I still cannot figure it out how to escape the html here

http://pastebin.com/zk4HAY3T

However they are not enough many as it seems there are still new patters....

© Stack Overflow or respective owner

Related posts about php

Related posts about regex