add class to <a> if href starts with http://www.twitter.com/
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/303956/jquery-select-a-which-href-contains-some-string">jQuery: Select &lt;a&gt; which href contains some string</a>  </p>
</blockquote>



<p>I am working on a little twitter implementation for a website.
The javascript I use exports the code as following:</p>

<pre><code>&lt;ul&gt;
 &lt;li&gt;twitter message here &lt;a href="http://twitter.com/username/ID"&gt;time of twitter&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</code></pre>

<p>Now I like to add a class to the twitter link, so I can give it a different css then normal links inside the tweets.</p>

<p>Anyone got any thoughts how to fix this in a proper way? :)</p>
