Here's how to change the backslashes in MS Windows style file names to forward slash:

.ls -R | .regex -p '[\\]' -r '/'

The -p and -r options to .regex go together
-p sets the regex pattern to be replace in the input stream to .regex
-r sets the replacement string

I would have expected

-p '\\'

to have been sufficient, will investigate why the the [] characters are needed in this situation.