Reactjs – Why does my password regex fail to validate a specific string only which have paranthesis as special characters?
I'm trying to validate a password using the following regex in JavaScript: /^(?=.*[a-z])(?=.*[A-Z])(?=.*d)(?=.*[@$!%*?&])[A-Za-zd@$!%*?&]+$/ The validation requirements are: At least one lowercase letter At least one uppercase letter At least one number At least one special character Here is the password…