def strip_punctuation(word):
    return ''.join(char for char in word if cat(char).startswith('P'))
filtered = [strip_punctuation(word) for word in input]
Remove punctuation from Unicode formatted strings