This function replaces all substrings matching the given regular expression with a given replacement.
replaceAll(text, regexp, replacement) #Output: Text
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 6 Next »
This function replaces all substrings matching the given regular expression with a given replacement.
replaceAll(text, regexp, replacement) #Output: Text
Parser expression | Description |
---|---|
replaceAll(" Hello World ", "\\s", "") | This example returns "HelloWorld". |
Parameter | Input (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. |
This function returns a TEXT
This expression could be used to e.g. modify an issue's summary or description.
Powered by Atlassian Confluence 8.5.16, themed by Refined 7.6.0 and Decadis AG