I applied case_when to a text data of thousands of rows to detect strings with multiple conditions and replace them but got a wrong result because case_when
case_when