import re


def remove_digits(string):
    """
    Strips digits from a string
    Useful in combination with built-in slugify in order to create strings
    that can be used as HTML IDs, which cannot begin with digits
    """
    return re.sub('\d+', '', string)