Contact: aviboots(AT)netvision.net.il
39,851 questions
51,772 answers
573 users
$str = "PHP8programming.!,:';-"; if (preg_match('/^[a-z0-9\p{P}]*$/i', $str)) echo "yes"; else echo "no"; /* run: yes */