I want to scrap following data( pink color part in image ) from http://www.kitco.com/market/
I was able to scrap data from The World Spot Price - Asia/Europe/NY markets HTML Table below that table using following.. but not able to get the London Fix data.. what changes should i do in the regular expression below as i tried many combinations but it doesnt work
My code looks like the following
$html= get_url_contents("http://www.kitco.com/market/");
//echo $html;
preg_match_all('!Gold\s+([0-9.]+)\s+([0-9.]+)!i',$html,$matches);
$patt = "/<td[^>]*width=['\"]68['\"][^>]*>([0-9\.]+)<\/td>\s*<td[^>]*width=['\"]68['\"][^>]*>([0-9\.]+)<\/td>/i";