Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

i need to validate a txt box with a password

 

my current reqular expression validator is set to

 

[a-zA-Z0-9_@&%$#!]{1,35}

 

This allows all small and capital letters, all digits and characters _@&%$#! and from 1-35 size wise.

 

What i need to do is change it to

>=8 and <=35 total characters

contains at least one small letter

contains at least one capital letter

contains at least one digit

contains at least one of the special characters

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...