結果 : replace function in javascript not working