The below regex has been compiled successfully using online - https://regex101.com/
Regex ^((?=.[a-z])(?=.[A-Z])(?=.\\d)|(?=.[a-z])(?=.[A-Z])(?=