i want to solve regular expression in javascript for:
ignore } character wrapped context by quote. but must match } character out of quote.
example: "The sentense { he said 'hello, {somebody}', she said 'hi, {somebody}' } got a something."
result: { he said 'hello, {somebody}', she said 'hi, {somebody}' }
thanks for your help