import re


def _remove_emoticons(tweet):
    """finds all emoticons, removes them from the
    tweet, and then returns the tweet with emoticons
    removed as well as a list of emoticons

    Parameters:
    -----------
    tweet: str
        contents of a tweet

    Returns
    -------
    tweet_no_emoticons:
        string of tweet with emoticons removed
    emoticons:
        list of emoticons
    """
    emoticons_re = r'(?:[:;])(?:[-<])?(?:[()/\\|<>])'
    emoticons = re.findall(emoticons_re, tweet)
    tweet = re.sub(emoticons_re, '', tweet)
    return tweet.strip(), emoticons