"([a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+(?:[A-Z]{2}|com|org|net|gov|mil|biz|info|mobi|name|aero|jobs|
museum)\b)siU",
$file,
$matches);
ob_start();
print_r($matches);
$output = ob_get_clean();
file_put_contents( 'emails2.txt', file_get_contents('emails2.txt') . $output );
$file = array();
$matches = array();
$output = array();
// end of for loop - back to top!!
}
?>