I'm trying to replace like this:
"The price is {{price}}".replace(/\{{(.*?)\}}/, '$243')
//output: The price is $243
But whem I use something like $143, I got this: "The price is price43"
What is going on?
I'm trying to replace like this:
"The price is {{price}}".replace(/\{{(.*?)\}}/, '$243')
//output: The price is $243
But whem I use something like $143, I got this: "The price is price43"
What is going on?