See http://ruby-doc.org/core-2.0.0/String.html#method-i-gsub if you really need this method.