Detect if a string is a link w/jQuery
<p>I need to be able to detect if a target string is a link or not. If yes, i need to grab the URL and place it into a var, do something with the string a (run through a plugin to truncate), and then wrap new string into the link again. I think i should be able to accomplish this with jQuery, right?</p>

<pre><code>&lt;div class="item"&gt;some string&lt;/div&gt;
&lt;div class="item"&gt;another string&lt;/div&gt;
&lt;div class="item"&gt;&lt;a href="myUrl.php"&gt;linked string&lt;/a&gt;&lt;/div&gt;
</code></pre>
