replaceAll


Description:

public string replaceAll (string input, string replacement)

Replaces all matches.

Parameters:

input

source text.

replacement

replacement text. Backreferences like `\1` and `\g<name>` are supported.

Returns:

replaced text.