Data is my passion and people are my purpose.
Post navigation
previous post
A lesson for life, spanning a generation.
next post
Should vs Could. Deadlines, Budget and the Small Dev Team
- Posted in
Only have Sysomos tweet context? Extract username from URL.
- Posted byby John Steinmetz
- 1 min
Using regular expressions you can extract the username from a twitter URL. var twitterURL = item.link; var twitterName = twitterURL.match(/https?:\/\/(www\.)?twitter\.com\/(#!\/)?@?([^\/]*)/)[3];
If you use the internet, you know that everything you do is tracked. Everything from personal interactions with your friends and family, items you purchase, items you look at while…

