How to all email address showing from string [closed]

$text = “Whether you’re preparing for your [email protected] first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner.”;

$array_text = str_split($text);

if(in_array(“@”, $array_text)){

}
else{

}

// Show email Address color: