I am having a heck of a time taking the information in a tweet including hashtags, and pulling each hashtag into an array using Python. I am embarrassed to even put what I
The best Twitter hashtag regular expression:
import re text = "#promovolt #1st # promovolt #123" re.findall(r'\B#\w*[a-zA-Z]+\w*', text) >>> ['#promovolt', '#1st']