arr.each{|old,new| str=str.gsub(old,new)}