I\'m validating the password formcontrol with regEx pattern as below.
password: ["", [Validators.required, Validators.pattern(/^(?=.*[a-z])(?=.*[A-Z])(?