enhance split function using regex as delim

instead of requiring delim passed in as arg and requiring comma in string case, use regex to allow a choice of ocmmon delimiters
now delimiter can be 
a blank space(s)
comma
dash
pipe