Skip to main content

Find and Replace String

Find and replace a string

Written by Holly Conrad Smith

Use this when you want to substitute part of a string within a flow, for example updating a label template with a calculated value.

Inputs

Name

Abbreviation

Type

Access

Description

String

S

String

Item

The string to search

Find

F

String

Item

The string to find

Replace

R

String

Item

The string to replace with

Outputs

Name

Abbreviation

Type

Access

Description

String

S

String

Item

The replaced string

How to

  1. Feed in a string

    This could be a stringify'd object, or any string

  2. Feed in the string to find.

    The Find text is read as a regular expression, so characters like . and * have special meanings.

  3. Feed in the string to replace with.

  4. The result is the entire original string with every match of the found string replaced.

Did this answer your question?