You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

The function replaces all defined substrings with the given replacement.

Syntax
findReplaceAll(text, stringToBeReplaced, replacement) #Output: Text
Examples
Parser expressionDescription
findReplaceAll("Goodbye my love, hello my friend.", "my", "your") 

This example returns "Goodbye your love, hello your friend."


findReplaceAll("Jira Workflow Toolbox is a great tool!", "Jira Workflow Toolbox", "JWT") 
This example returns "JWT is a great tool!"
Additional information

Parameters used in this function

ParameterInput (data type)Description
text

TEXT

Any given text.
stringToBeReplaced

TEXT

The string that should be replaced in text.
replacement

TEXT

The replacement for all found substrings matching the stringToBeReplaced.
Output

This function returns a TEXT

If you want to use a regular expression to find the substrings that should be replaced, have a look the the replaceAll() function.