Regular expression for validating special characters

My regex works but I don't know why it also includes all numbers, so when I put some number it returns error. little Unicode BABY ANGELs like this one 👼 are dying! ) And you are killing 20 years of DOS :-) (the last smiley is called WHITE SMILING FACE... But in ancient times it was ALT-1) and his friend BLACK SMILING FACE...

Would anybody please help generate a regular expression to be validated using javascript ?

There are other things Bruce Hartweg wrote in tcl: You can't negate a regular expression, but you CAN negate a regular expression that is only a simple string.

The pattern defined by the regex may match one or several times or not at all for a given string. Additionally, the means you need at least one of the listed characters.If zero is ok (ie an empty value), then replace it with a * instead: Javascript : /^[a-z A-Z] (([\'\,\.\-_ \/)(:][a-z A-Z_ ])?The correct way is: You have to be careful, though.Don't do this for large texts or texts with many nested xml-tags because the regular-expression-machine is not the the right tool to parse large,nested files efficiently. If you are really dealing with XML, it is better to use a proper tool like Tcl DOM or t DOM.

Regular expression for validating special characters