I want to split a string by whitespaces, , and \' using a single ruby command.
,
\'
word.split will split by white spaces
word.split
x = "one,two, three four" new_array = x.gsub(/,|'/, " ").split