Show three different functions to perform text replacement including "replaceWithCallback" which is a unique P6R feature.