In replaceAll, single quote escapes single quote. So the syntax you should use is:
Here is a video of this working: https://youtu.be/YA3y1hJCDqg
Hope that helps,
try using regex. You can use this website to test.
The regex for a single quote is
create the new constant type of string and put a single quotation inside it
then you can use this in your replace all function