Skip to main content
Replaces what a regular expression matches with something else — the rewriting sibling of Regex Capture. Reach for it to clean a value before something stricter reads it: stripping a currency suffix so "32 000 kr" becomes "32 000", removing thousands separators, collapsing double spaces, or swapping a separator.

Configuration

  • Regex pattern — wire the pattern from another node, or type a literal in the inspector. Example: \s*(kr|SEK|:-)\b.
  • Replacement — the text each match becomes. Leave it empty to delete the match. \1, \2, … insert the pattern’s capture groups, so (\d+),(\d+) with \1.\2 turns "2,5" into "2.5".
  • Replace all matches — on by default. Turn it off to rewrite only the first match in each value.
  • Case insensitive — when on, matching ignores letter case.
  • Unicode — when on, character classes like \w, \d, and \s recognise non-ASCII letters and digits (e.g. Å, Ä, Ö).

Tips

  • A pattern that matches nothing is not an error — the value passes through untouched, so this is safe to put in front of every value in a stream.
  • To pull pieces out of a value rather than rewrite it, use Regex Capture and Compose String instead.

Ports