> Hello Team of Nerds, Not the best way to start your request for help. > I need help in writing a regular expression for this: > > invalid character set is: > > INVALID_STRING={"/","*","+","(",")","'\'","<",">",",",":",";","~","..",".@","@."}; > > I want to a pregmatch for these characters on my whole email address and if > match is found I need to return false. Based on what you've said, you might not need a regex, there may well be an str* function that you can use. Maybe strpos(). -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org (Updated October 25th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php