Ask AI
Skip to main content

Multi remove

Function: Multi remove

This function helps you clean up a piece of text by removing multiple unwanted words or phrases from it. Imagine you have a long sentence or a paragraph, and you want to quickly get rid of several specific items. This action allows you to do that efficiently, leaving you with a cleaner, more focused text.

Input

  • Text: The main piece of text you want to modify. This is the original content from which you'll be removing parts.
  • To remove: A list of specific words, phrases, or characters that you want to find and remove from the main "Text". You can specify as many items as you need.

Output

  • Result: The name of the variable where the cleaned-up text will be stored after all the specified items have been removed. By default, this variable will be named "RESULT", but you can choose a different name if you prefer.

Execution Flow

Real-Life Examples

Here are some examples of how you can use the "Multi remove" function:

Example 1: Cleaning up a product description

Imagine you have a product description that was copied from an old system and contains some outdated or irrelevant tags like "[DISCONTINUED]" and "##INTERNAL_NOTE##".

  • Inputs:
    • Text: "This is a great product! [DISCONTINUED] It offers many features. ##INTERNAL_NOTE## Buy now!"
    • To remove:
      • "[DISCONTINUED]"
      • "##INTERNAL_NOTE##"
  • Result: The variable named "RESULT" will contain: "This is a great product! It offers many features. Buy now!"

Example 2: Removing common filler words from user feedback

You're processing user feedback and want to remove common filler words like "um", "uh", and "like" to get to the core message.

  • Inputs:
    • Text: "The app is, um, really good, like, for productivity, uh, it's very useful."
    • To remove:
      • ", um,"
      • ", like,"
      • ", uh,"
  • Result: The variable named "RESULT" will contain: "The app is really good for productivity it's very useful."

Example 3: Standardizing data by removing specific prefixes and suffixes

You have a list of order numbers, and some of them have "ORD-" as a prefix or "-V1" as a suffix that you want to remove for standardization.

  • Inputs:
    • Text: "ORD-12345-V1"
    • To remove:
      • "ORD-"
      • "-V1"
  • Result: The variable named "RESULT" will contain: "12345"