Validating special characters


30-Nov-2017 13:33

A Unicode escape sequence can represent any 16-bit character.-or- For characters that are usually treated specially, indicates that the next character is not special and should be interpreted literally.

For example, , makes the quantifier non-greedy (matching the minimum number of times), as opposed to the default, which is greedy (matching the maximum number of times).

DEMO | DOWNLOAD There are different methods to validate the form for special characters. If you have some other code which does the same thing, that would definitely help our readers.Java Script: In the above Java Script, we basically create a variable to take all the special characters, which is then for looped for the entry in the form.If the function finds a special character matched with the variable, then the alert pops up then and there.Form validation is an important to any website programming.