Selecting an element where selector finds in a specific class of element
<p>I have the following structure of div tags and each div tag has multiple classes like :-</p>

<pre><code>&lt;div&gt;

     &lt;div class="jsh-a_train_hotel_amsterdam info js-multiple"&gt;&lt;/div&gt;

     &lt;div class="jsh-info info js-multiple"&gt;&lt;/div&gt;

     &lt;div class="jsh-myinfo info js-single"&gt;&lt;/div&gt;

&lt;/div&gt;
</code></pre>

<p>Now I want to find div tags which have class name starting with "jsh-" and also the class that starts with "jsh-" should have a substring "info" in it.</p>

<p>So the result should be the following :-</p>

<pre><code>&lt;div class="jsh-info info js-multiple"&gt;&lt;/div&gt;
&lt;div class="jsh-myinfo info js-single"&gt;&lt;/div&gt;
</code></pre>

<p>(Reason: Because  the above 2 div tags have classes jsh-info and jsh-myinfo which satisfies the condition that the element class name should have "jsh-" and the substring in the "jsh-" class name value should have string "info" in it)</p>
