Using Nog's heredoc $html EOD variable, another possible solution would be to use DOM / XPath:
$dom = new DOMDocument;
@$dom->loadHTML($html); // you would change this to @DOM->loadHTMLFile('http://www.somesite.com/someFolder/someFile.php'); but use the actual URL in question
$xpath = new DOMXPath($dom);
$preTag = $xpath->query('//pre[contains(@class, "alt2")]');
foreach ($preTag as $val) {
$arr[] = explode("\n", $val->nodeValue);
}
$arr = array_merge($arr[0], $arr[1]);
$arr = array_map('trim', $arr);
echo '<pre>'.print_r($arr,true);