I am new to regular expressions. I want to write a regex to detect two lowercase letters in a String. The String could contain any number of UpperCase letters, digits and symbols. Just want to make sure that the String contains two lowercase letters for sure using the regex expression.
I tried using
RegExp(r'[a-zA-Z]{2}')
But it returns true even when the String contains 1 lowercase and 1 uppercase. I want to check if the String contains at least 2 lowercase letters.
Could someone help?