Very simple, I need to match the # symbol using a regex. I\'m working on a hashtag detector.
#
I\'ve tried searching in google and in stack overflow. One
You could use the following regex: /\#(\w+)/ to match a hashtag with just the hashtag word, or: /\#\w+/ will match the entire hashtag including the hash.
/\#(\w+)/
/\#\w+/