Moogsoft Docs

replaceString

A Workflow Engine function that replaces a string or regular expression in a field with a specified string or regular expression.

This function is available for alert, enrichment, and Situation workflows.

Back to Workflow Engine Functions Reference.

Arguments

Workflow Engine function replaceString takes the following arguments:

Name

Required

Type

Description

field

Yes

String

Field to replace text in.

replace

Yes

String

Original string or regular expression you want to replace. Regular expressions should use double escaping. For example \s not s.

with

Yes

String

New string or regular expression you want to use instead.