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

Compare with Current View Page History

« Previous Version 4 Next »

This function replaces all substrings matching the given regular expression with a given replacement.

Syntax
replaceAll(text, regexp, replacement) #Output: Text
Examples
Parser expressionDescription
replaceAll(" Hello World ", "\\s", "")

This example returns a text : "HelloWorld"

Additional information

Parameters used in this function

ParameterInput (data type)Description
text

TEXT

Any given text.
regexp

TEXT

A valid regeular expression that grabs all substrings to be replaced.
replacement

TEXT

This text will replace all substrings found by the regexp.
Output

This function returns a TEXT

This expression could be used to modify an issue's summary or description.