Replace thousands on global regexp

Replaced ALL occurrences of the thousands symbol using a global regexp.