import re


def mac_add(string):
    """
    Extract Mac address from text.
    https://stackoverflow.com/questions/26891833/python-regex-extract-mac-addresses-from-string/2689237

    Parameters
    ----------
        string: str
            Text selected to apply transformation.

    Examples:
    ---------
    ```python
    sentence="MAC ADDRESSES of this laptop - 00:24:17:b1:cc:cc .
        Other details will be mentioned"
    mac_add(sentence)
        >>> ['00:24:17:b1:cc:cc']
    ```
    """
    text = re.findall('(?:[0-9a-fA-F]:?){12}', string)
    return text