title: How to select the elements according to the value of the attributes?
body: <p>I need some help in selecting element from the DOM tree.
  I need to select all the elements that contains an attribute that holds <strong>interpolation brackets ==> {{someString}}</strong>.</p>
  
  <p><strong>V.I.Note</strong>: the interpolation might be substring of the attribute value.</p>
  
  <p><i>for example:</i><br></p>
  
  <pre><code>&lt;input id="{{labelID}}"&gt;
  &lt;div style='background-color:{{backgroundColor}}'&gt;
  </code></pre>
  
  <p>in this example, I need to set the input and div element in some data structure, but how to <strong>select</strong> these elements.</p>
  
  <p>I tried to move over all the DOM tree and check each element if it match some regEx, but this solution doesn't work, because if some element has the interpolation brackets then all it's ancestors will be selected
  any help?</p>