def clean(string):
pattern = re.compile(r'<[^>]+>', re.S)
string = pattern.sub('', string)
string = string.replace(' ', ' ').replace(' ', ' ').replace(' ', ' ').replace(' ', ' ').replace(" ",'')
string = string.strip()
return string
def clean(string):
pattern = re.compile(r'<[^>]+>', re.S)
string = pattern.sub('', string)
string = string.replace(' ', ' ').replace(' ', ' ').replace(' ', ' ').replace(' ', ' ').replace(" ",'')
string = string.strip()
return string