<human>:  Parsing XML in Python with regex
<bot>: Here is some code to search for occurrences of regex pattern '>.*<' in xml string `line`

print(re.search('>.*<', line).group(0))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.