I've got a line to flip all slashes in a string and it works great.
**flipSlashes = shortLocString.replace(/\\/g,"/");**
But if I want to flip them back, it falls apart. I've tried all of the following. I don't "get" the //g syntax very clearly, so don't know how to troubleshoot it.
**flipSlashes = shortLocString.replace(///g,"\\");**
**flipSlashes = shortUrlString.replace(/'/'/g,"\\");**
**flipSlashes = shortUrlString.replace(///g,"\\");**
Any help appreciated, dp