Javascript Regular Expressions Replace each word
let searchString = "Now is the time, this is the time"; let re = /t\w{2}e/g; let replacement = searchString.replace(re, "place"); console.log(replacement); // Now is the place, this is the place