New improved regex to match the ID in a tweet’s URL: (?:https?:)?\/\/twitter.com\/(?:#!\/)?(?:\w+)\/status(?:es)?\/([^\/?]*).* — Charles Johnson (@Green_Footballs) February 28, 2014
— Charles Johnson (@Green_Footballs) February 28, 2014