Dale Newfield wrote:
enthucoder wrote:
I am validating a condition : Input should not contain any of these
characters  &,",<,>,%,(,)
And to achieve this my RegEx is : ^[^(\&|"|<|>|%|\(|\))]+$

> That should be: ^["&<>%()]*$
D'oh!  That should be: ^[^"&<>%()]*$

-Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to