Skip to main content
Best answer

How to convert markdown in email into plaintext?


I am using parser to get an email to come in. I that email there is a text/html pairing and when it comes into zapier the field is showing as markdown, i.e. “[text](url)” I would like to extract the text and URL into their own fields to be used later in the zap. I know I can run this through multiple split text, but looking for something more elegant. Any thoughts would be appreciated.

Best answer by robschmidtBest answer by robschmidt

Hi @jferst 

You can try out Formatter > Extract URL and Formatter > Extract Pattern (regex) to extract the data out of the content with almost 100% accuracy.

The best approach however will be using a code step (Python) to extract the data in one step.

View original
Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

robschmidt
Forum|alt.badge.img+9
  • Zapier Expert
  • 617 replies
  • Answer
  • August 12, 2021

Hi @jferst 

You can try out Formatter > Extract URL and Formatter > Extract Pattern (regex) to extract the data out of the content with almost 100% accuracy.

The best approach however will be using a code step (Python) to extract the data in one step.


  • Author
  • Beginner
  • 1 reply
  • August 12, 2021

any thoughts on what that code step would look like?