title: jQuery Selector with regex
body: <p>I am looking to scan a page and look for any html elements that have a class or id that contains the word <code>price</code>. My thought was to use regex here but I cannot get it to fire correctly.</p>
  
  <p>I am using Safari and Chrome on OS X</p>
  
  <pre><code>var price = $("div:regex(\bprice\b)").text();
  </code></pre>
  
  <p>The purpose is to get the price of a product on an e-commerce site if it isn't already stated in Open Graph which is already handled.</p>