-7

I need a regex for jquery to check the password is between 8 to 32 character and consist of number and character.

Alma
  • 3,780
  • 11
  • 42
  • 78

1 Answers1

1

Simple: /^(?=.{8,32}$)(?=.*[a-z]).*\d/i (assuming you meant "letter" not "character".)

Nissa
  • 4,636
  • 8
  • 29
  • 37