title: AS3 - Find words separated by space and hash
body: <p>I'm using a RegExp that finds words with a hash in front such as <strong>#example</strong> .</p>
  
  <p>If there is a link in a text with a hash like <em>example.com/#about</em> it comes to problems. So how to extend it to find only words that have also a <strong>space</strong> in front of the <strong>#</strong>? (E.g.: hello #world)</p>
  
  <pre><code>var regex:RegExp = /#[^#.,:;!?\s]+(?= #|$)/g;
  </code></pre>
  
  <p>Thanks. Uli</p>