I have the following regex to match the last pair of braces in a string,
.+(?={)(.+)(?=})
The example string is,
abc{abc=bcd}{g
Uses an anchor to specify the pattern should match when at the end of a line.
(?<=[{]).*(?=[}]$)