import string
import re


def remove_duplicate_punctuation(text: str) -> str:
    """
        Remove duplicate punctuation, which may have been a feature of
        gazette design.
    """
    pattern = f"([{string.punctuation}])" + "{1,}"
    pattern = re.compile(pattern)
    text = re.sub(pattern, r"\1", text)
    return text