Replace String or List String
This node lets you search and replace data within a string with Regex.
Imagine you want to build a dynamic URL that will open the Business Manager of a business that you have selected. We will need to replace the id in the template with a business manager id of a selected business. Take a look at the example below to understand better how you can use it:
If you’d like to replace a string for each object of a list use the Replace list string node.
Input data that needs to be modified.
Select a schema which fits the data that needs to be modified.
If you input a JSON object, specify a path to the string that needs to be modified.
Input the regex to the part of the string that needs to be modified. You can find a quick reference to regex here.
If you want to replace an existing value with a new value, input the new value in this field.
Outputs data with a modified string.
Did this answer your question?