Replaces specific substrings matching a regular expression with a given replacement.
Use this function instead of replaceAll() or replaceFirst() if you want to have full control over the exact substrings you want to replace.
findModify(text, regex, replacement) #Output: Text