title: HtmlUnit get element by class name containing string
body: <p>I want to find any elements in the HtmlPage that have a class that contains the word 'date'.</p>
  
  <p>ie i want to match any of the following:</p>
  
  <pre><code>&lt;div class = 'date'&gt; August 13 2017 &lt;/div&gt;
  &lt;span class = 'pubDate'&gt; August 12 2017 &lt;/div&gt;
  &lt;div class = 'datePublished'&gt; August 10 2017 &lt;/div&gt;
  </code></pre>
  
  <p>In order to match exactly 'date' I am using the following:</p>
  
  <pre><code>HtmlPage page;
  List&lt;HtmlDivision&gt; date = page.getByXPath("//div[@class='date']");
  System.out.println(date.get(0));
  </code></pre>
  
  <p>Which is working correctly.</p>
  
  <p>However, how do I change this (or what else should I use ) in order to be able to match any element that has a class name that contains the word date (case insensitive) ?</p>