結果 : replace all same character in string javascript