import re


def remove_brackets(page):
    """Remove brackets tags from a string"""
    clean = re.compile(r"{{[^}{]*}}", flags=re.MULTILINE)
    if page:
        while clean.search(page):
            page = re.sub(clean, ' ', page)
    return page