import re


def decode_textfield_ncr(content):
    """
    Decodes the contents for CIF textfield from Numeric Character Reference.

    :param content: a string with contents
    :return: decoded string
    """
    def match2str(m):
        return chr(int(m.group(1)))
    return re.sub('&#(\d+);',match2str,content)