in reply to Having problem to substitute "'"

The string  'abc/dead/apple' has no  ' (single quote) character in it for which anything else (including the empty string) could be substituted.

Can you please give an example of just what you are trying to do and what the result is?