Now use JavaScript replace method.