I have the string: \rnosapmdwq\salesforce\R3Q\OutputFiles\Archive
I'm getting a unrecognized escape sequence when I try to send this to a .NET web service.
I'm trying to replace all of the "\" with "|" to send it to the server.
I know I can use the replace method but that only replaces the first element. I think I need to use a regular expression to solve it.
Here's what I have so far:
Path = Path.replace("\\/g", "|");
This is wrong though.