<human>:  How to remove parentheses only around single words in a string
<bot>: Here is some code to remove parentheses only around single words in a string `s` using regex

re.sub('\\((\\w+)\\)', '\\1', s)

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