This function replaces all occurrences of a given substring with a given replacement.
findReplaceAll(text, textToBeReplaced, replacement) #Output: Text
If you want to use a regular expression to find the substrings that should be replaced, have a look at replaceAll().
If you want of only replace the first occurence of a substring, have a look at findReplaceFirst().