Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Page properties
hiddentrue



Status
Tech review

Status
colourYellow
titletodoReady for review

Style guide

Status
colourYellow
titletodoReady for review

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged



Page properties
hiddentrue


Short description

Returns a text copy of s where each substring matching the given regular expressionregexp has been replaced with the given replacement stringReplaces all substrings matching a regular expression with a given replacement.

Output

Status
subtletrue
titletext

Available since




UI Text Box
sizemedium
typeinfo

This function returns a text copy of s where each substring replaces all substrings matching the given regular expression regexp has been replaced with the a given replacementstring.


Code Block
languagebash
titleSyntax
linenumberstrue
replaceAll(string stext, string regexp, string replacement) #Output: Text


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
replaceAll(" Hello World ", "\\s", "")


This example returns a text : "HelloWorld"



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
xxxtext

Status
subtletrue
titledata typetext

Any given textParameter description.
xxxregexp

Status
subtletrue
titledata type

Parameter description.

text

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

Status
subtletrue
titledata typetext

This text will replace all substrings found by the regexpParameter description.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titletext

UI Text Box
typetip

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