SyntaxFix
Write A Post
Hire A Developer
Questions
This will replace backslashes with forward slashes in the string:
source = source.replace('\\','/');