Could you provide a regex that match Twitter usernames?
Extra bonus if a Python example is provided.
The only characters accepted in the form are A-Z, 0-9, and underscore. Usernames are not case-sensitive, though, so you could use r'@(?i)[a-z0-9_]+' to match everything correctly and also discern between users.
regex for Twitter username