JavaScript Demo
JavaScript / HTML/ CSS Code
Output
Execute replace method
Execute replace method