I'm trying to learn regular expressions. How can I find the first occurrence of the email address given line below:
' for somebody@domain.com for somebody@domain.com '
I was trying with occurrences as shown below:
et=re.findall('for (<.+@.+>){1}?',' for somebody@domain.com for somebody@domain.com ')
but without luck.