will javascript replace java code example Example: replace js // Replace All str = str.replace(/_/g, ' ');