withReference

Adds a reference to the pattern. All the occurrences will be replaced.

Return

this for concatenation

Parameters

label

text to be replaced

regex

new pattern to replace the label with