Where in your data are the dollars that you're trying to replace?
If you're trying to replace ampersands (&), then you should do so in your regular expression too:
s/&//g;
In reply to Re: replace multiple dollar instances ($) in a string
by Corion
in thread replace multiple dollar instances ($) in a string
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |