Skip to content

Replace Text

Function Description

TIP

Replace specified content in the text

Configuration Item Description

General

Command Input

  • Source Contentstring: Enter a text string or select a variable containing the string

  • Replacement MethodInteger: Select a method for extracting content

  • Regular Expressionstring: Select a method for extracting content

  • Text to Replacestring: Enter the content to be replaced

  • Replace Only First MatchBoolean: For example, if two phone numbers are found in the text, you can replace only the first one

  • Ignore CaseBoolean: Whether to ignore case when matching strings

  • Replace Withstring: Enter the replacement value

Command Output

  • Save Result Tostring: Specify a variable to save the replaced content

Error Handling

  • Print Error LogsBoolean: Whether to print error logs to the "Logs" panel when the command fails. Default is checked.

  • Handling MethodInteger:

    • Terminate Process: If the command fails, terminate the process.

    • Ignore Exception and Continue Execution: If the command fails, ignore the exception and continue the process.

    • Retry This Command: If the command fails, retry the command a specified number of times with a specified interval between retries.

Usage Example

Process logic description:

Common Errors and Handling

None

Frequently Asked Questions

None