I have a String something like var someString = 'Some foo email string {{Email18}} bla bla'.
I need to search and replace a substring {{Email18}} but I don't know the digit or number part. I want to something like someString.replace("{{Email*}}", "Foo") and resultant string be like 'Some foo email string Foo bla bla'.
How can I do that?