The string replaceAll() methods takes a regular expression and a replacement string -- both of which has special (but different) meanings for the "$" character. I wish that I could explain it further, but regular expressions is a *very* big topic. And I recommend that when you have some free time, to learn it, as it is incredibly useful. Anyway, to ...