Is there regex to catch every character except one? For instance every characters in curly brackets until open curly bracket is found, then don't match that. For instance catch:
{lorem ipsuem}
but not:
{lorem ipsum {lorem}
because there is another {
within
I've tried different solution like:
\{[^\}].+?(?=)\} or \s\{[^\}].+?\s(?!\{)\}