Hi @thebot
Good question.
That is known as email parsing.
Try using an email parser app such as Mailparser: https://zapier.com/apps/mailparser/integrations#triggers-and-actions
Hi @thebot!
There are a couple of ways that you could do this that would be easier than using regex.
The first would be to use an email parser. You can use a dedicated app like MailParser, but if the format of the emails is relatively simple (eg the text you want will always be on a different line and in the same order) then you could try Email Parser by Zapier. Using an email parser, you forward relevant emails to your parser inbox and the it will pull out the relevant details based on a template that you set up in advance. This help guide explains how to set up an Email Parser by Zapier inbox and parser template. This would be the solution I’d choose in this situation.
An alternative would be to use the Formatter by Zapier app, which you can use to split text based on things like a line break or semicolon. The main drawback of this approach is that you would end up using a LOT of steps in your Zap, so I wouldn’t generally recommend it.
If neither of those work for you, let us know and hopefully someone in the Community can help you with the regex formula that you’d need