Replacing a substring in JavaScript

javascript Live Demo Short URL - http://tpcg.io/B8A6yX0Z
Advertisements