import re


def get_words(text):
    """
    A method to separate the words in a string.

    Args:
        text (str): input text string.

    Return:
        words (list): a list of words in the string.
    """
    return re.compile('\w+').findall(text)