def get_num(x):
    """Grab all integers from string.
    
    Arguments:
        *x* (string) -- string containing integers
        
    Returns:
        *integer* -- created from string
    """
    
    return int(''.join(ele for ele in x if ele.isdigit()))