SyntaxFix
Write A Post
Hire A Developer
Questions
You want to use regex lookahead and lookbehind. This will give you only what is inside the curly braces:
(?<=\{)(.*?)(?=\})