Topic: regular expression
Hi im just wanting to write a regular exppression that will match either ',' or ' ' in a string
so far I am producing
str = "red, white blue"
=> ["red", "", "white", "blue"]
Does anyone have any ideas as to how I could improve this. Im not wanting the "" to be matched