Find text patterns or formats in a string and replace all occurrences of a pattern or format to replacement value.
- string: The field from the Flow data that’s been worked on.
- pattern: The pattern or format that is being compared
- replacement: The value that is being replaced with
- output-location: Location to store the output data
The field from the flow data that’s been worked on.
The pattern can be a string of any length. It can contain special characters, whitespace, and is case sensitive.
Value can be a string of any length. It can contain special characters, whitespace, and is case sensitive.
Let’s create a solution that changes the word “world” into “universe” from the Hello World solution.
The data from the response (output) body is checked for the string “World” and replaced with the string “Universe”