Contact: aviboots(AT)netvision.net.il
40,891 questions
53,304 answers
573 users
$string = 'PHP is a ScripTing language'; if (preg_match('/[A-Z]/', $string)) { echo "yes\n"; } else { echo "no\n"; } if (preg_match('/[A-Z]/', "abcd")) { echo "yes\n"; } else { echo "no\n"; } /* run: yes no */