title: regex capturing multiple string placeholders
body: <p>I'm trying to write a regex that would capture all occurences of <code>{alphabetical}</code> inside a string (let it be none, one or more), for instance:</p>
  
  <ul>
  <li><code>This is a {variable}</code> -> <code>[variable]</code></li>
  <li><code>This is a {variable} and this is {another} one</code> -> <code>[variable, another]</code></li>
  <li><code>This is a {variable} and this is {another} {one}</code>  -> <code>[variable, another, one]</code></li>
  </ul>
  
  <p>I've managed to do <code>/(\{[a-z]+})/</code> (tested here: <a href="https://regex101.com/" rel="nofollow">https://regex101.com/</a>), but it just captures the first occurence. Please help me with capturing all occurences and catching them into the groups.</p>