(?:.*)\w<\/h1>
(.*)<\/p>
(.*)<\/p><\/div>
(.*)
/i', $data[$x], $matches);
$echo = $matches[1][0]." | ";
$echo = $echo . "" . trim(strip_tags(str_replace("—", "-", $matches[2][0])))." | ";
$echo = $echo . "" . str_replace("&", "", trim(strip_tags(str_replace("", ": ", $matches[3][0]))))." | ";
$x++;
while (!stristr($data[$x],"
")) {
$e = $e . " " . trim(strip_tags(str_replace("
", '$', $data[$x])));
$x++;
}
$e = substr($e, 1);
$echo = $echo . "" . $e;
echo "[PHP]: ". $echo;
}
$x++;
}
?>