Find and replace
Description
This operation allows you to search for specific patterns within your input data and replace them with new text.
Data types
These are the input/output expected data types for this operation:
Input data
- Text or data where you want to perform find-and-replace operations.
Output data
- Output strings after the find-and-replace operations.
Parameters
These are the parameters you need to configure to use this operation (mandatory parameters are marked with a *):
Examples
Suppose you want to replace all the occurrences of the word "error" with "issue". To do it:
In your Pipeline, open the required Action configuration and select the input Field.
In the Operation field, choose Find and replace.
Set Substring to find to
error
.Set Replacement to
issue
.Set Global Match to
true
.Set Case Insensitive to
true
.Set Multiline to
false
.Set Dot Matches All to
false
.Give your Output field a name and click Save. The count will be displayed in the output field.
In this example, given the following string:
The server encountered an error while processing your request.
you'll get this output:
The server encountered an issue while processing your request.
Last updated
Was this helpful?