note 4850 deleted from String functions by torben

From: Date: Sun, 10 Sep 2000 22:06:01 +0000
Subject: note 4850 deleted from String functions by torben
Groups: php.notes 
Request: Send a blank email to php-notes+get-4677@lists.php.net to get a copy of this message
If I have a string and I only want it to contain certain characters and nothing else:<br> if ( eregi("[^a-z,A-Z]", $string) ) {<br> echo "This sentence contains a restricted character. Please use only alphabetical characters."; <br>}

« previous php.notes (#4677) next »