結果 : replace pattern in string javascript