note 51694 rejected from function.ereg by sean

From: Date: Thu, 07 Apr 2005 19:18:10 +0000
Subject: note 51694 rejected from function.ereg by sean
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-87673@lists.php.net to get a copy of this message
Note Submitter: ps_azmodan at hotmail dot com ---- I am wondering if anyone would know how to allow special characters such as | / \ ^ _ ` [ ] { }, a to z, 0 to 9, using ereg (or anything else, as long as it works) i tried using ereg("|/\^_`[]{}[a-z0-9]", $string ) and it gives me "Warning: ereg(): REG_EMPTY" Thanks a lot

« previous php.notes (#87673) next »