Add replaceSpecialCharacters