in reply to substitute \ and / with \\ ?

That'll work but you need a /g modifier. Also, you might try using a different delimiter to make it easier to read. Try s!\\|/!\\\\!g instead.

-sauoq
"My two cents aren't worth a dime.";