no need for gsub, you can use `tr!` - http://ruby-doc.org/core-2.1.1/String.html#method-i-tr-21