PDA

View Full Version : how do I replace a "blank" + character



jwd
11-10-2005, 06:30 PM
How do I use a .replace() to specify the blank (\s) and a "\" as the two characters to match in a .replace statement?

Twey
11-10-2005, 08:02 PM
String.replace(/\s\\/, "what we want to replace it with");

jwd
11-11-2005, 07:59 PM
Thanks! I find the multi conditional delimiter procedure in Jscript a bit confusing. In another life I was an assembly language programmer on IBM mainframes. Life was so much easier then.