Remplacer l'élément de String JavaScript
var string="hollo"
console.log(string.replace(/o/g,'P'))
//replace o with P
var string="hollo"
console.log(string.replace(/o/g,'P'))
//replace o with P
var string="hollo"
console.log(string.replace(/o/g,'P'))
//replace o with P