How can you determine if a string is all caps with a regular expression. It can include punctuation and numbers, just no lower case letters.
$str="ABCcDEF"; if ( preg_match ("/[a-z]/",$str ) ){ echo "Lowercase found\n"; }