Hide all li elements matching string : <p>I have a list that I want to hide all li elements containing a certain text. Lets say it looks like this: </p>

<pre><code>&lt;ul&gt;
   &lt;li&gt;text historical&lt;/li&gt;
   &lt;li&gt;text&lt;/li&gt;
   &lt;li&gt;text&lt;/li&gt;
   &lt;li&gt;text&lt;/li&gt;
   &lt;li&gt;text historical&lt;/li&gt;
   &lt;li&gt;text&lt;/li&gt;
   &lt;li&gt;text historical&lt;/li&gt;    
&lt;/ul&gt;
</code></pre>

<p>So how can I hide all li elements containing "historical"? the list is dynamical and will change over time. </p>
