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];
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
Okay, imagine you have a toy box with lots of different toys in it. Your friends want to play with your toys, but you want to make sure they know…
- Posted in
Building a Data Team from Scratch: Challenges and the Importance of Proving Business Value
- Posted byby John Steinmetz
- 3 min
Building a data team from scratch is no small feat, and it comes with a host of challenges. Not only do you need to find the right people with the…

