title: How to match a pound (#) symbol in a regex in php (for hashtags)
body: <p>Very simple, I need to match the <code>#</code> symbol using a regex. I'm working on a hashtag detector.</p>
  
  <p>I've tried searching in google and in stack overflow. One related post is <a href="https://stackoverflow.com/questions/3536101/regular-expression-to-remove-the-pound-sign-from-a-string-if-exists">here</a>, but since he wanted to remove the # symbol from the string he didn't use regex.</p>
  
  <p>I've tried the regexes <code>/\b\#\w\w+/</code>, and <code>/\b#\w\w+/</code> and they don't work and if I remove the <code>#</code>, it detects the word.</p>