Ask AI
Skip to main content

Multi remove

Function: Multi remove

This action helps you clean up text by removing multiple specific words or phrases from it. Imagine you have a long sentence, and you want to get rid of several unwanted parts all at once. This action does exactly that, giving you a cleaner version of your original text.

Input

  • Text: The main piece of text you want to modify. (Type: A piece of text)
  • To remove: A list of all the specific words or phrases you want to take out of the main text. (Type: A list of values)

Output

  • Result: The cleaned-up text after all the specified items have been removed. This will be stored in a variable you can use later. (Type: A piece of text)

Execution Flow

Real-Life Examples

Example 1: Cleaning up a product description

You have a product description that contains some repetitive or unwanted marketing buzzwords, and you want to remove them to make it more concise.

  • Inputs:
    • Text: "This amazing product is brand new and comes with a 1-year warranty. It's truly amazing!"
    • To remove: ["amazing", "brand new", "It's truly"]
  • Result: The variable RESULT will contain: "This product is and comes with a 1-year warranty. !"

Example 2: Removing unwanted characters from a user input

A user enters a username, and you need to clean it up by removing special characters to ensure it's valid for your system.

  • Inputs:
    • Text: "User_Name@123!_#"
    • To remove: ["_", "@", "!", "#"]
  • Result: The variable RESULT will contain: "UserName123"

Example 3: Stripping out placeholder text from a template

You're generating a personalized message from a template, and you want to remove any remaining placeholder tags that weren't filled in.

  • Inputs:
    • Text: "Hello [Customer Name], your order [Order ID] has been shipped. Track it at [Tracking Link]."
    • To remove: ["[Customer Name]", "[Order ID]", "[Tracking Link]"]
  • Result: The variable RESULT will contain: "Hello , your order has been shipped. Track it at ."

Example 4: Removing specific HTML tags from a blog post excerpt

You need to display a short excerpt of a blog post on a page, but you want to remove all HTML formatting tags to show plain text.

  • Inputs:
    • Text: "<p>This is a <b>sample</b> blog post with <i>some</i> HTML tags.</p>"
    • To remove: ["&lt;p&gt;", "&lt;/p&gt;", "&lt;b&gt;", "&lt;/b&gt;", "&lt;i&gt;", "&lt;/i&gt;"]
  • Result: The variable RESULT will contain: "This is a sample blog post with some HTML tags."