for example i want to do
new_data = t = re.sub('[ufd3e]'),' ',new_data)
to replace the character uf3ef but it doesn't work
for example i want to do
new_data = t = re.sub('[ufd3e]'),' ',new_data)
to replace the character uf3ef but it doesn't work
you need to use \u
to tell it it is unicode (and you had a closing parenthesis in the wrong place)
new_data = t = re.sub(u'[\ufd3e]',' ',new_data)