$site=file_get_contents("file.txt"); preg_match_all('#<a href="mailto:(.*?)">#si',$site,$phpbot); $phpbot = implode($phpbot[1]); print $phpbot; // bütün mail adreslerini listeler