Regular expression for a password validation. I want it to be possible at least a lowercase letter, a capital letter, at least a number and special characters (/, _, -, ...).
Example: $regex = '#^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[a-zA-Z\d]{8,}$#';
How can I add more special characters?