title: Matching words starting with a hash(#) sign
body: <p>I am trying to extract words from a line which starts with a hash(#) symbol.</p>
  
  <p>Suppose the line is :</p>
  
  <blockquote>
    <p>#This #is#the line #containing multiple #tags.</p>
  </blockquote>
  
  <p>The regex which I am using is :</p>
  
  <pre><code>(?:^|\s)(#\w+)
  </code></pre>
  
  <p>The answer which I'm getting is :</p>
  
  <blockquote>
    <p>#This , #is , #containing , #tags</p>
  </blockquote>
  
  <p>The output should be </p>
  
  <blockquote>
    <p>#This , #is#the , #containing , #tags.</p>
  </blockquote>
  
  <p>Please help.</p>
  
  <p>Thanks</p>