Replace all occurrences of string in one line using JavaScript

Published --