I am trying to remove every backslash of a string for an hour, but I cannot make it work.
Here is my string for instance:
[{\"file\":\"https:\\/n-adsadele.stjkwgjkw.co\/adwq
Here is what I tried:
const replaced = toString.replace(String.fromCharCode(92), String.fromCharCode(32));
const replaced = toString.replace("\\\\", "");
const replaced = toString.replace("\\", "");
const replaced = toString.replace(/\\/, "");
All of this does absolutely nothing.