Ereg problems

From: Date: Tue, 16 Jan 2007 03:59:46 +0000
Subject: Ereg problems
Groups: php.windows 
Request: Send a blank email to php-windows+get-27385@lists.php.net to get a copy of this message
Hi, Without getting into a long drawn out discussion, can anyone show me a way to validate a string that is input from a form. I want to allow the following: a to z, A to Z, 0 to 9, and "_-'" (without the double quotes) and spaces. I have now been screwing around with this for over 8 hours. There are other issues as well that has been compoudning this, but this would be a great start to solving my issue. Thanks

« previous php.windows (#27385) next »