title: howto get character preceded by a regexpr
body: <p>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.</p>
  
  <p>Code I work with looks like this:</p>
  
  <pre><code>lore ipsum ^{someWord}} lore ipsum
  </code></pre>
  
  <p>The regexpr I found so far looks like this:</p>
  
  <pre><code>\^{[a-zA-z]*}
  </code></pre>