-3
I don’t have great bases with PHP however, I need to do validations like:
- string size
- contains letters, uppercase and minuscule
- contains numbers
- contain 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 some special character. What would be the best way to check all this.
Thanks in advance!