How do I use a .replace() to specify the blank (\s) and a "\" as the two characters to match in a .replace statement?
How do I use a .replace() to specify the blank (\s) and a "\" as the two characters to match in a .replace statement?
Code:String.replace(/\s\\/, "what we want to replace it with");
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
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.
Bookmarks