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.";
In reply to Re: substitution
by sauoq
in thread substitute \ and / with \\ ?
by kirk123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |