title: REGEX, find string that contain string in string
body: <p>I have the following text and i need a preg_match_all that finds all of the strings that start with [ and end with ] that contain at least a string with between {}, i tried and failed to build a correct regex for this, anyone can help with this?</p>
  
  <pre><code>Go home [if you have {a-home} or not] [or yes, you do have]
  </code></pre>