human
Remove punctuation from Unicode formatted strings
assistant
Here is some code to substitute occurrences of unicode regex pattern u'\\p{P}+' with empty string '' in string `text`

return re.sub('\\p{P}+', '', text)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.