var str = "yukicoder"; var result = str.replace("yukicoder", "Hello World!"); console.log(result);