KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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.
Tags (comma-separated)
Save Edits
Cancel