Skip to main content

I’m trying to remove boilerplate from emails in order to use the remaining text? How do I do this? For example, some of the text I’m trying to remove are URLs. I’ve able to extract the URL. How do I extract everything that is not the URL? Or, how do I remove recuring paragraphs that always start with the same phrase?

Hello,

I am Patricia, from the Zapier team. Nice to have you in our community today. 

It seems you're looking to remove boilerplate text, such as URLs or recurring paragraphs starting with the same phrase, from emails to focus on the remaining text.

 

You have been able to extract the URL, you can then use that value to find it in the text and replace the value with a blank space

  • Here is how to Remove URLs:

    • Use "Formatter > Text > Replace."
    • Find: https?:///^\s]+
    • Replace With: Leave blank.
  • Here is how to Remove Recurring Paragraphs:

    • Use "Formatter > Text > Replace."
    • Find Text: Example: This is the boilerplate.*
    • Replace With: Leave blank.

Please use these articles as guided if needed: https://help.zapier.com/hc/en-us/articles/8496278339725-Find-and-replace-values-in-your-Zaps

 

Hope this helps


Hi ​@JLO ,
 
We just wanted to see how everything is going with your Zap. Did Patricia's recommendation get the job done? Feel free to reach out if you need further assistance with your Zap. We're glad to address any concerns and assist you.
 
We're looking forward to your response.


Reply