import re


def remove_argument_quotes(text: str) -> str:
    """Remove single and double outer quotes from text.
    """
    if re.match(r'^(\'.*\')|(".*")$', text or ''):
        return text[1:-1]
    return text