Add target=“_blank” to link with JavaScript
<p>Simple question:
How do you add target=“_blank” to the returned link in the following function?</p>

<pre><code>   String.prototype.parseHashtag = function() {
    return this.replace(/[#]+[A-Za-z0-9-_]+/g, function(t) {
        var tag = t.replace("#","%23")
        return t.link("http://search.twitter.com/search?q="+tag);
    });
</code></pre>

<p>It is printed like this:</p>

<pre><code>$("#twitterFeed span").html(data[twitterNumber].text.replace(urlRegexp, "&lt;a target=_blank href='$1'&gt;$1&lt;/a&gt;").parseHashtag().parseUsername());
</code></pre>
