note 22795 deleted from function.ereg by zak

From: Date: Tue, 02 Jul 2002 18:40:01 +0000
Subject: note 22795 deleted from function.ereg by zak
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-32516@lists.php.net to get a copy of this message
I think you're wrong, that would return True if there is at least one 'normal' character in the string. ereg("^[a-zA-Z0-9]+$",$var); is the correct regex as far as i remember

« previous php.notes (#32516) next »