<?php
$text = "nothing like php";
if (preg_match("/[a-z]/i", $text)) {
echo "يوجد احرف انجليزية";
} else {
echo "لا يوجد احرف انجليزية";
}
?>