I'm not a a development machine so can't test this now but you could try using:
<var-value> ^[~\$]+$</var-value> .. Also failing that you could always opt for something like ^[0-9a-zA-Z]* listing valid inputs, as opposed to a value you don't want. Tim Christopher On Wed, 23 Mar 2005 16:37:47 -0800, Jaswinder Kaur <[EMAIL PROTECTED]> wrote: > Hi all, > > I want to validate a string value and make sure that it does not have "&", > "$" or "=" character in it. I used the following code > > <var> > <var-name>mask</var-name> > <var-value>[^/$&=]+$</var-value> > </var> > > This work only if the last character is either "&", "$" or "=" else it does > not. > > Please help!! > > TIA > Jaswinder > > "Attention: This message is intended only for the individual to whom it is > addressed and may contain information that is confidential or privileged. If > you are not the intended recipient, or the employee or person responsible for > delivering it to the intended recipient, you are hereby notified that any > dissemination, distribution, copying or use is strictly prohibited. If you > have received this communication in error, please notify the sender and > destroy or delete this communication immediately." > ============================================================================== > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]