Best answer

How to convert markdown in email into plaintext?

  • 12 August 2021
  • 2 replies

Userlevel 1

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 12 August 2021, 03:42

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.

2 replies

Userlevel 7
Badge +9

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.

Userlevel 1

any thoughts on what that code step would look like?