How can I match all occurrences of "an Upper and Lower case" or vice versa of the same letter following each other in a string using regex? e.g: "aADFfGcCgs", I want to match aA, Ff and cC
I am doing the following re.findall('[a-Z][A-Z]', string) which can only match two characters which are not necessarily the opposite case of the other letter.