python remove all words that are in non-unicode code example Example: python remove all unicode from string return ''.join([i if ord(i) < 128 else ' ' for i in text])