import re


def get_skipped_reason(data):
    """Return test case skip reason from report string.

    Args:
        data(str): test case report

    Returns:
        str: skip reason or None

    """
    try:
        reason_rules = re.compile("Skipped:(.*?)..$")
        return ('\n'.join(reason_rules.findall(data))).strip()
    except TypeError:
        return None