Hello,
I'm working on a flow in Power Automate to extract a specific line from the body of an email.
The goal is to retrieve an email address that appears after a specific keyword in the email body. For example, my output text from a substring action (outputs('Substring')?['body']
) looks like this:
I want to extract only the email address "Dein.Doe@Aimsts.com" from this text. However, the format is not consistent and can sometimes be:
- "E : Dein.Doe@Aimsts.com,"
- "Mail: Dein.Doe@Aimsts.com "
Is there a way to reliably extract only the email address regardless of these variations?
Thank you!