I want to split a string by whitespaces, , and \' using a single ruby command.
,
\'
word.split will split by white spaces
word.split
Regex.
"a,b'c d".split /\s|'|,/ # => ["a", "b", "c", "d"]