Contact: aviboots(AT)netvision.net.il
31,037 questions
40,797 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 */