<?php
$log = <<<FIM
##################################################
----------------------------------------
Nome: nome_user,
Email: email@user.com,
-------------------------------
,
----------------------------------------
##################################################
FIM;
if( preg_match( '/Email:\s*(.*)\s*,/', $log, $matches ) ) { echo $matches[1];
} else {
echo 'Não encontrado';
}
PD9waHAKCiRsb2cgPSA8PDxGSU0KIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMKLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQpOb21lOiBub21lX3VzZXIsCkVtYWlsOiBlbWFpbEB1c2VyLmNvbSwKLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQosCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0KIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMKRklNOwoKICAgIGlmKCBwcmVnX21hdGNoKCAnL0VtYWlsOlxzKiguKilccyosLycsICRsb2csICRtYXRjaGVzICkgKSB7CiAgICAgICAgZWNobyAkbWF0Y2hlc1sxXTsKICAgIH0gZWxzZSB7CiAgICAJZWNobyAnTsOjbyBlbmNvbnRyYWRvJzsKICAgIH0K