I do not have large bases with PHP however, I need to do validations like:
- string size
- contains upper and lower case letters
- contains numbers
- contains special characters
In this case for a password, I tried to do with regex, however I do not know how I can check if it has any special character. What would be the best way to check all this.
Thank you in advance!