""" """.join(re.sub('(@[A-Za-z0-9]+)|([^0-9A-Za-z \t])|(\\w+:\\/\\/\\S+)',
    ' ', x).split())
x = (
    """@shawn Titanic tragedy could have been prevented Economic Times: Telegraph.co.ukTitanic tragedy could have been preve... http://bit.ly/tuN2wx"""
    )
""" """.join(re.sub('(@[A-Za-z0-9]+)|([^0-9A-Za-z \t])|(\\w+:\\/\\/\\S+)',
    ' ', x).split())
x = (
    'I am at Starbucks http://4sq.com/samqUI (7419 3rd ave, at 75th, Brooklyn) '
    )
""" """.join(re.sub('(@[A-Za-z0-9]+)|([^0-9A-Za-z \t])|(\\w+:\\/\\/\\S+)',
    ' ', x).split())
how to remove hashtag, @user, link of a tweet using regular expression