2
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 no two texts between <>. In this case, I will have as return:
'eiwbv> ebvi <wieunv'
But I want to:
'eiwbv'
What a regular expression I would have to use to get this result?