remove special char in string python code example Example: remove special characters from string in python ''.join(i for i in string if i.isaplha()