Skip to content

Instantly share code, notes, and snippets.

@robinbentley
Last active September 28, 2017 01:08
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robinbentley/5772791 to your computer and use it in GitHub Desktop.
Save robinbentley/5772791 to your computer and use it in GitHub Desktop.
Pull out links, usernames and hashtags from a plaintext tweet. I imagine there is a cleaner way (regex is not my thing) but it works well at getting what's needed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment