Contact: aviboots(AT)netvision.net.il
41,652 questions
54,315 answers
573 users
$s = "@#$23PHP#(%*/?999~`;"; $s = preg_replace( '/[\W]/', '', $s); echo $s; /* run: 23PHP999 */
$s = "@#$23PHP#(%*/?999~`;"; $s = preg_replace( '/[^a-z0-9]/i', '', $s); echo $s; /* run: 23PHP999 */