Hi,
I would like to ensure that the password users enter when creating an account meets the following criteria:
-Is eight characters long
-Has at least one uppercase letter
-Has at least one lowercase letter
-Hast at least one digit
-Has at least one special character
I put together this block, but right now, it only checks for eight characters, letter A, letter a, digit 0 and special character #. I’m not sure how to write the code to have it check for all the letters of the alphabet, all the digits, and more special characters without making the block super long and tedious.
Please help.