I'm trying to remove special character from Arabic String using it's Unicode which I got from this link: https://www.fileformat.info/info/unicode/char/0640/index.htm
This is my code:
TATWEEL = u"\u0640"
text = 'الســلام عليكــم'
text.replace(TATWEEL, '')
print(text)
But I tried it and doesn't work (it prints the same string without removing the character)
This is the special character 'ــ'
I'm using Python3