<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def clean_var(text):
 """Turn text into a valid python classname or variable"""

    text = re_invalid_var.sub('', text)
    text = re_invalid_start.sub('', text)
    return text