str_replace_all problem

About this, to avoid unnecessary back and forths on future posts, please provide a REPRoducible EXample (reprex)

If you've never heard of a reprex before, you might want to start by reading this FAQ: