$convert = "mailto:xxxin@yahoo.inATTENDEE";
preg_match_all('/(mailto.*(?:.com|.org|.net|.in){1}?)/', $convert, $emails);
$newArray = array();
foreach($emails as $em){
$newArray = array_merge($newArray, $em);
break;
}
echo "<pre>";
print_r($newArray);
echo "</pre>";
result
Array
(
[0] => mailto:xxxin@yahoo.in
)