I want to find all expressions wrapped with "<" and ">" For example, in <2><1>, I want <2> and <1> seperately.
s = re.findall('<.*>', '<2><1>')
gives me only <2><1>, which is different from what I've intended. Can you give me an answer to find all of these expressions ? Thanks much in advance.