Zetect Usage Guide Expressions & TransformsSwitch portal ⇄

String Transforms

Reshape text: change case, trim, replace, join, split, or apply a regular expression.

uppercase / lowercase / trim

Each takes an input (or the piped value) and returns it upper-cased, lower-cased, or with leading and trailing whitespace removed.

1

replace

Literal (not regex) find-and-replace within the input.

FieldDescription
inputThe text to operate on.
searchThe literal substring to find (find is accepted as an alias).
replaceWhat to substitute in. Omit or blank to delete the matches.
3

concat

Joins a list of values in order. Each entry is templated; blank entries are skipped.

4

split

Splits the input on a delimiter and returns one part by index.

FieldDescription
inputThe text to split.
delimiterThe separator. If blank, the whole input is returned.
indexWhich part to return (0-based). Negative counts from the end — -1 is the last part. Defaults to 0.
6

regex

Applies a regular expression. With a replacement it replaces all matches; without one it extracts a capture group.

FieldDescription
inputThe text to match against.
patternThe regular expression.
replacementIf present, every match is replaced with this (replace mode).
groupIn extract mode, which capture group to return. Defaults to group 1 (or the whole match if there are no groups).
8