Best answer

Extract Text After a specific word from body/subject line of email | Python?

  • 14 December 2022
  • 3 replies
  • 581 views

Hi, 

 

I’m receiving emails from a specific source with the same subject lines besides the leads name. 

Example “…….. Inquiry From John d”. I want to be able to extract the name/text after the word “from.”

Currently, I’m trying to use Formatter by Zapier. However, I don’t know Python :) 

 
The goal is to create a lead name for Pipedrive. 

 

Thanks!

icon

Best answer by Agent Shablool 14 December 2022, 18:21

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

3 replies

Userlevel 7
Badge +14

Hi @Agent Shablool 

Good question.

Try using Formatter > Text > Split and keep the 2nd segment.

Thanks! 2 seconds after I made the post I played around and that exact thing worked lol. 

In case it helps anyone I’ve added the screenshot below

 

Userlevel 5
Badge +7

Hey there @Agent Shablool - thanks so much for sharing what worked! I’ll go ahead and mark your response as best answer, please let us know if you have any other questions and we’re happy to help. 

 

Best,

Rachael