I have some code and I want to delete the first occurance of '}' (or the 2nd, doens't matter) after a certain regexpr, using sed or whatever. I don't understand how to point my regexpr to this.
Code I work with looks like this:
lore ipsum ^{someWord}} lore ipsum
The regexpr I found so far looks like this:
\^{[a-zA-z]*}