the code is not running can anyone explain why ?
$string1 = "Dean_Johns123@cyber.net.uk"; //Example Email
$pattern = "/^[a-z][_][A-Z][_][0-9]*(@).[a-zA-Z]{2,9}[a-zA-Z]{2,3}.[a-zA-Z]{2}$/";
if(preg_match($pattern , $string1))
{
echo " valid email";
}
else
{
echo "not valid";
}