title: Regex to Search keywords between {{ and }} in Java
body: <p>What will be the Regex to Search keywords between <code>{{</code> and <code>}}</code> in Java.</p>
  
  <p>Example <code>String = "kksdkjhsd {{one}} sdkjhsdjksd {{two}}"</code>
  I want <code>output = ["one","two"];</code></p>
  
  <p>I have already tried approach suggested in <a href="https://stackoverflow.com/questions/20229887/java-regex-to-get-data-between-curly-brackets">Java Regex to get Data between curly brackets</a>.</p>
  
  <p>It works fine with single braces but I couldn't extend it for double flower(<code>{{ }}</code>) braces</p>