On Tue, Oct 28, 2008 at 4:10 PM, VamVan <vamseevan@xxxxxxxxx> 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@xxxxxxxxxxxx || danbrown@xxxxxxx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php