import re


def process_tweets(text):
    """Exclude mentions, urls, and html reference characters in a string using regular expression"""
    text = re.sub("(\@|https:\/\/)\S+", "", text)  # remove mentions and urls
    text = re.sub(r"&[a-z]+;", "", text)  # exclude html reference characters
    return text