Conditions for password
- Minimum length should be 7
- It must contain at-least one Capital letter
- It must contain at-least one numeric
- It must contain at-least one special character
/^(?=.{7,50}$)(?=.*[0-9])(?=.*[!@#$%^&*_])(?=.*[a-z])(?=.*[A-Z])[a-zA-Z0-9!@#$%^&*_].*/
It is working for passwords Mouse@123 but not working for Mouse_123