Create replacetext