title: Get all strings between two curly braces using regex in javascript
body: <p>I need to get an array of all strings that are contained in curly brackets using JavaScript.</p>
  
  <pre><code> {{text is here}} 
  </code></pre>
  
  <p>note that the text could contain all special characters and could be multi line  i have tried this so far
   <a href="https://regex101.com/r/gYXSbO/3/" rel="nofollow noreferrer">regex test</a></p>
  
  <pre><code>\{{(.*?)\}}
  </code></pre>