This function replaces all occurrences of a given text with a given replacement. Evaluation of the regular expression is carried out ignoring the case.


findReplaceAllIgnoreCase(text, textToBeReplaced, replacement) #Output: Text



Parser expressionDescription


%{findReplaceAllIgnoreCase("HellO my love, hELlo my friend.", "hello", "Goodbye")}


This example returns:

Goodbye my love, Goodbye my friend.



Parameters used in this function

ParameterInput (data type)Description
text

Any given text.
textToBeReplaced

The string that should be replaced.
replacement

The replacement for all found substrings matching the textToBeReplaced.



This function returns a


If you want to use a regular expression to find the substrings that should be replaced, have a look the the replaceAll() function.

If you want to replace only the first occurence of a substring, have a look at findReplaceFirstIgnoreCase().



Use cases and examples



Short description

Replaces all occurrences of a given text with a given replacement, ignoring the case.

Output