I would like to extract the text contained between < > of a string. At first, I built the following expression:
import re
m=re.search(r'<(.*)>','abevbv envvrhwkv <eiwbv> ebvi <wieunv> ajhbsvhj')
The expression would be perfect if there were not two texts between < & gt ;. In this case, I will have as a return:
'eiwbv> ebvi <wieunv'
But I want to:
'eiwbv'
What regular expression would I have to use to get this result?