How can I replace values from a string like that:
// "Hello ##name##, today is ##date##"
It's possible like that:
var string = "Hello ##name##, today is ##date##"
console.log(string.replace('##name##', 'John Doe'));
But how replace the ##date##
too, and build the string again?