I am trying to get content between curly braces with JavaScript. I found this thread: Regex to get string between curly braces "{I want what's between the curly braces}"
But I do not know how to apply a regex like /\{([^}]+)\}/
I have tried string.replace('/\{([^}]+)\}/','');
, however this does not work.