I tried really hard to scrape prices from this website http://oasis.caiso.com/mrtu-oasis/prc_hub_lmp/PRC_HUB_LMP.html but because the prices have a "$" I can't seem to make it work. I tried:
<?php
$data = file_get_contents('http://oasis.caiso.com/mrtu- oasis/prc_hub_lmp/PRC_HUB_LMP.html');
$regex = "@/$(.+?)</font>@";
preg_match($regex,$data,$match);
echo $match[1];
?>
It doesnt work! Any help would be appreciated!