I'm wondering if a function exists that does this thing:
var greetings = "Hello %s, I'm %s"
greeting.replace('Mickey','Minnie');
// Should return: Hello Mickey, I'm Minnie
EDIT
Thank you all for the help!
I created a little node package for it, in case anyone needed something like this: