title: JavaScript regex, searching for hashtags
body: <p>How can I search some text for any and all hashtags (alphanumeric AND underscore AND hyphen) and wrap them in span tags
  eg search </p>
  
  <pre><code>some_string = "this is some text with 3 hashtags #Tag1 and #tag-2 and #tag_3 in it"
  </code></pre>
  
  <p>and convert it to:</p>
  
  <pre><code>"this is some text with 3 hashtags &lt;span&gt;#Tag1&lt;/span&gt; and &lt;span&gt;#tag-2&lt;/span&gt; and &lt;span&gt;#tag_3&lt;/span&gt; in it"
  </code></pre>
  
  <p>I've got this so far:</p>
  
  <pre><code>    some_string = some_string.replace(/\(#([a-z0-9\-\_]*)/i,"&lt;span&gt;$1&lt;/span&gt;");
  </code></pre>
  
  <p>but one fault is it doesn't include the # in the  wrappings like it should.
  It seems to output:</p>
  
  <pre><code>"this is some text with 3 hashtags &lt;span&gt;Tag1&lt;/span&gt; and #tag-2 and #tag_3 in it "
  </code></pre>
  
  <p>Also it only detects the first hashtag that it comes across (eg. <code>#Tag1</code> in this sample), it should detect all.</p>
  
  <p>Also I need the hashtags to be a minimum of 1 character AFTER the #. So # on its own should not match.</p>
  
  <p>Thanks</p>