Hi,

I'm trying to replace a double slash with a single slash and am having a
little trouble, has anyone done this before?

Here's what I've got thus far...

var doubleSlash : RegExp = /(\\)(\\)/g;
var slash : RegExp = /(\\)/;

winMessage = winMessage.replace( doubleSlash, slash );


Cheers,
Nick

Reply via email to