change replaceText demo