I have a string
"B & D & P && D & P && B & C"
I'd like to split the string into a Javascript array by using the & or && as separators in order to get something like
"B, D, P, D, P, B, C"
I was wondering how I would approach this situation. Thanks!