title: Use Regex to capture first part, skip middle, and capture last part
body: <p>I've some lines like the example below, I want to capture everything in the first bracket, then everything in the <code>some texts</code> part.</p>
  
  <p><code>{Foo} - {Bar} - some texts</code></p>
  
  <p>Expected result: <code>{Foo} - some texts</code></p>
  
  <p>All the texts and the ones in the brackets will be different, so I will need to based it off on the <code>{}</code> and <code>-</code> to capture what I need. </p>
  
  <p>What I've came up with gets everything in the first bracket, <code>\{(.*?)\}</code>. However I'm not too sure how I can skip the middle part and just grab the <code>some texts</code>. I'm looking at using lookaround assertions, is that the best way to approach this?</p>
  
  <p>Thanks.</p>