How do I get the regular expression for excluding special charaters and numbers? Thanks in advance.
Try the following: ^[a-zA-Z]*$
possible regex
[^()[\]{}*&^%$#@!]+
this will match anything but ()[]{}*&^%$#@!
the [^...]+
is a "any character except ..." and the ]
must be escaped with \]
http://www.myregextester.com/?r=37f5dfd3
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With