UPPER_CASE_AND_DIGIT

Regex pattern for string to contain at least one uppercase and a digit value.

(?=.\d) -> A digit must occur at least once. (?=.a-z) -> A lowercase char must occur at least once. (?=.*A-Z) -> An uppercase char must occur at least once. {8,} -> Min. of 8 characters, no upper limit, accepts any char.