<?php
$text = "Мыло раз victory1@gmail.com
мыло два failure13@yahoo.com";
$regexp = "/[a-z0-9_+.-]+@[a-z.-]+/i";
for ($i = 0; $i < $count; $i++) {
echo $emails[0][$i] . "\n";
}
PD9waHAKJHRleHQgPSAi0JzRi9C70L4g0YDQsNC3IHZpY3RvcnkxQGdtYWlsLmNvbQrQvNGL0LvQviDQtNCy0LAgZmFpbHVyZTEzQHlhaG9vLmNvbSI7CiRyZWdleHAgPSAiL1thLXowLTlfKy4tXStAW2Etei4tXSsvaSI7CiRlbWFpbHMgPSBhcnJheSgpOwokY291bnQgPSBwcmVnX21hdGNoX2FsbCgkcmVnZXhwLCAkdGV4dCwgJGVtYWlscyk7CmZvciAoJGkgPSAwOyAkaSA8ICRjb3VudDsgJGkrKykgewoJZWNobyAkZW1haWxzWzBdWyRpXSAuICJcbiI7Cn0K