regluar expression: at least one number AND at least one capital letter.
How to write regular expression to determine rule:
1) input string must contain at least one number. For example '0A1' contains 2 numberic symbols, but 'Abc' doesn't contain. At least one numeric symbol must occur.
2) input string must also contain one capital letter. for example '0A1' contains capital A, but '0a1' doesn't. At least one capital letter must exist in
Bot 1) and 2) must be true for input string.
How to write such regular expression?