Comment Comment by drinchev "If the first argument to String.replace() is a string, only the first instance of that string is replaced. To replace all instances, a regex is necessary" That's not that much advanced javascript knowledge. parent drinchev 12 years ago