"how to remove hashtag, @user, link of a tweet using regular expression","result = re.sub('(?:@\\S*|#\\S*|http(?=.*://)\\S*)', '', subject)"