Regex. Match words that contain special characters or 'http://',"re.findall('(http://\\S+|\\S*[^\\w\\s]\\S*)', a)"