Changed regex in gsub method.