import re
import string


def remove_punctuation(text):
    """
    Method used to remove the punctuation
    from de text.

    Parameters:
    -----------------
        text (string): Text to clean

    Returns:
    -----------------
        text (string): Text cleaned without punctuation

    """

    # adding space before punctuation
    text = re.sub(r"(?<=[.,])(?=[^\s])", r" ", text)

    text = "".join([char for char in text
                   if char not in string.punctuation])

    return text