Possible Duplicate:
PHP: Check only chars
i want insert only character from A to Z how i can make it by regular expression
if (ereg('[^A-Za-z]', $text)) { echo "More then letters"; } else { echo "only letters"; }
I hope this helps
Possible Duplicate:
PHP: Check only chars
i want insert only character from A to Z how i can make it by regular expression
if (ereg('[^A-Za-z]', $text)) { echo "More then letters"; } else { echo "only letters"; }
I hope this helps
精彩评论