import re
text = ['unstable',
'people\x9d.',
'pattern',
'real',
'thought',
'fearful',
'represent',
'contrarians\x9d',
'greedy',
'interesting',
'behaviour',
'opposite']
text = [k.replace('\x9d.', '') for k in text]
print(text)
aW1wb3J0IHJlCnRleHQgPSBbJ3Vuc3RhYmxlJywKICdwZW9wbGVceDlkLicsCiAncGF0dGVybicsCiAncmVhbCcsCiAndGhvdWdodCcsCiAnZmVhcmZ1bCcsCiAncmVwcmVzZW50JywKICdjb250cmFyaWFuc1x4OWQnLAogJ2dyZWVkeScsCiAnaW50ZXJlc3RpbmcnLAogJ2JlaGF2aW91cicsCiAnb3Bwb3NpdGUnXQp0ZXh0ID0gW2sucmVwbGFjZSgnXHg5ZC4nLCAnJykgZm9yIGsgaW4gdGV4dF0KcHJpbnQodGV4dCk=
['unstable', 'people', 'pattern', 'real', 'thought', 'fearful', 'represent', 'contrarians\x9d', 'greedy', 'interesting', 'behaviour', 'opposite']