Let's say if i have a variable $school_name="ABC school". I would like to check if the school name contains english letters or not. I tried to use this method , but it doesn't work..
preg_match("/[a-zA-Z]+$/", trim($school_name))
Maybe ctype_alpha() might help you.
Just drop the , the +, and the $.