Skip to main content
Best answer

How to convert markdown in email into plaintext?

  • August 12, 2021
  • 2 replies
  • 465 views

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 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.

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 Solution Partner
  • 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
  • August 12, 2021

any thoughts on what that code step would look like?