Created
December 5, 2019 09:51
-
-
Save nandoquintana/72e9f01413d927332b6c19b02a0d6dee to your computer and use it in GitHub Desktop.
Find instagram hashtags through a regular expression in Python
gid:mmqGht93YKVt5ytDukzQDG
Thanks! Nice Regex!
In my tests, some hashtags still had a space behind them, which turned out to be "Non Breakable Space".
"\u00A0" should fix it.
not_in_hashtags = "\"$%&'()*+,-./:;<=>?[\]^`{|}~\n#@ \u00A0"
(I am in a different programming language.... can't promise that it works that way in Python.)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Verify Github on Galaxy. gid:mmqGht93YKVt5ytDukzQDG