I'm trying to find all the hash tags in a string. The hashtags are from a stream like twitter, they could be anywhere in the text like:

this is a #awesome event, lets use the tag #fun

I'm using the .NET framework (c#), I was thinking this would be a suitable regex pattern to use:

#\w+

Is this the best regex for this purpose?

Edit
Report