0
I need some help to be able to include in the regular expression I’m using to not allow spaces.
The password must meet the following requirements:
- Have at least 1 number;
- At least 1 capital letter;
- Has at least 1 lower case letter;
- Has at least 1 special character;
- Not allow space
I’m using the following expression:
(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[-_@#$%]).{8,}
You already have something similar here, here and here
– hkotsubo