I need this string:
var x = \'Hi ${name}! How are you? ${name}, you are old! ${name} share with ${other} how do u ${feel}!\'
I need to know
To match the syntax you want you need this:
x.match(/\$\{([a-zA-Z]+)\}/)