const str = "ton paragraphe ici" console.log(str.split(' ').map(e => `${e.slice(0,2)}{{c1::${e.slice(2)}}`).join(' '))