Replace cells with specific terms

I want to replace the words contains “conference” and “group” with “N/A” in the dataframe. E.g. “AAAI Conference”->”N/A” “Alibaba Group” -> “N/A” The dataframe is called name, I try two ways to …