ECMS-5735: Unknown error when deleting a folder containing $ character

Fix description:
  - The function replaceAll does not work well with $ and slash character, using replace instead