‘;
$stripped = strip_tags ($data, $allowable_tags);

$table_text = tc2_extract_unit($stripped, ‘Pool Standings’, ‘Copyright’);

$table_text = preg_replace (‘/Country/’,”,$table_text);
$table_text = preg_replace (‘/Played/’,’P’,$table_text);
$table_text = preg_replace (‘/Wins/’,’W’,$table_text);
$table_text = preg_replace (‘/Draws/’,’D’,$table_text);
$table_text = preg_replace (‘/Losses/’,’L’,$table_text);
$table_text = preg_replace (‘/Goals For/’,’F’,$table_text);
$table_text = preg_replace (‘/Goals Against/’,’A’,$table_text);
$table_text = preg_replace (‘/Difference/’,’D’,$table_text);
$table_text = preg_replace (‘/Points/’,’P’,$table_text);
$table_text = preg_replace (‘/ width=”100%”/’,’ class=”wcup-table”‘,$table_text);

$pos = stripos ($table_text, ‘Pool A’);
$table_text = substr ($table_text, $pos);

echo $table_text;

?>