Status
Tech review

Style guide




Short description

Replaces all substrings matching a regular expression with a given replacement.

Output

Available since




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


replaceAll(text, regexp, replacement) #Output: Text



Parser expressionDescription


replaceAll(" Hello World ", "\\s", "")


This example returns "HelloWorld".



Parameters used in this function

ParameterInput (data type)Description
text

Any given text.
regexp

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

This text will replace all substrings found by the regexp.



This function returns a

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