n8n Β· Text

n8n replaceAll()

Replaces every occurrence of a substring. Plain replace() only changes the first one.

Syntax

text.replaceAll(search, replacement)

Example

'+971-50-123'.replaceAll('-', '')

Result: +97150123

Equivalent in Make.com

replace() β€” replace(text; search; replacement)

Practice replaceAll() β€” free interactive labs

More n8n text functions