Developer's Stuff
Friday, January 8, 2010
replace forward slash (\) using javascript
var strReplace = "C:\Temp\Temp1\Temp2\text.jpeg";
strReplace = strReplace.replace(new RegExp(/\\/g),"/");
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment