title: How to Match The Inner Possible Result With Regular Expressions
body: <p>I have a regular expression to match anything between { and } in my string.</p>
  
  <blockquote>
    <p>"/{.*}/"</p>
  </blockquote>
  
  <p>Couldn't be simpler.  The problem arises when I have a single line with multiple matches.  So if I have a line like this:</p>
  
  <blockquote>
    <p>this is my {string}, it doesn't {work} correctly</p>
  </blockquote>
  
  <p>The regex will match</p>
  
  <blockquote>
    <p>{string}, it doesn't {work}</p>
  </blockquote>
  
  <p>rather than</p>
  
  <blockquote>
    <p>{string}</p>
  </blockquote>
  
  <p>How do I get it to just match the first result?</p>