I have a string as:
string="""Recipient:
[email protected] \--- mail_boundary --- ATTENTION: This email came from an
external source.
Sender: [email protected] Subject: [External] *LEGALZOOM OPENS AT $30, IPO
AT $28 Message-Id: <60DC94E60001AE8432F70080_0_2129298@mscv03>
Recipient: [email protected] \--- mail_boundary --- """
All I want to extract the email-ID's corresponding to keyword Recipient: i.e. email_id=['[email protected]','[email protected]']
What I have tried as:
email_id=re.findall(r'Recipient: (.+)',string)