Re: Regex validation

From: Date: Tue, 28 Oct 2008 21:28:06 +0000
Subject: Re: Regex validation
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-282536@lists.php.net to get a copy of this message
On Tue, Oct 28, 2008 at 4:10 PM, VamVan <vamseevan@gmail.com> wrote: > Hello Team of Nerds, > > I need help in writing a regular expression for this: > > invalid character set is: > > > INVALID_STRING={"/","*","+","(",")","'\'","<",">",",",":",";","~","..",".@","@."}; Then you need to STFW and RTFM. PHP uses Perl-style regexp's, by the way. The best place to start, in my opinion, and a site you should bookmark, is Jan Goyvaerts'[1] site. He's done a fantastic job for people of varying degrees of /regexpertise/: http://www.regular-expressions.info/ 1: [MEDIA] http://www.just-great-software.com/special/JanGoyvaerts.wav -- </Daniel P. Brown> http://www.parasane.net/ [New Look] daniel.brown@parasane.net || danbrown@php.net

« previous php.general (#282536) next »