regular expression - no digits

  • Thread starter Thread starter sri_san
  • Start date Start date
S

sri_san

Hello,
I am a novice to regularexpressions and trying to build a regex
for a string that consists of alphabets, special characters but no
digits.

Regex("^([a-zA-Z]!@#$%^&*?).{8,20}$") Does not seem to work for some
reason.
Could anyone help, pls.

Sam.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top