I want to remove all punctuation symbol from my list, which is unicode text. When I executed the code as shown, there was no effect on the list. No symbol has been removed from the list. Though there was no syntax error displayed. I would like to mention that text is in the Gujarati language. I successfully removed the digits from the list.
....
....
filtered_words = [word for word in words if not re.search(r"[\P]+",word)]
....