Grouping multiple "Text Parser - replace" nodes, or alternative?

You can use and chain the built-in replace function in a single Set Variable / Compose a String module.

  • replace
    replace(text; search string; replacement string)

The function may have also been covered in the Make Academy tutorials — refer to the Make Academy Course Overview for more info.

Here’s an example of how you can use the function:

{{ replace(replace(text; search; replacement); search; replacement) }}

e.g.:

{{ replace(replace(1.text; "/pattern/"; emptystring); "/pattern2/"; emptystring) }}

(copy-paste the above into the field, or type it exactly as shown)

Hope this helps! Let me know if there are any further questions or issues.

@samliew

2 Likes