<?php $string = 'ezeze smtp.mailfrom=mymail@gmail.com; rerer'; echo preg_match( '/smtp\.mailfrom=\K[^;]+/', $string, $match ) ? $match[0] : 'no email address';
You have javascript disabled. You will not be able to edit any code.