I'm trying to split string
x@x,a,b,c,d(some(other,arg2),p)@yyy
into array
['x@x','a','b','c','d(some(other,arg2),p)@yyy']
.
The problem i faced is that i cannot split just comma /\,/g
since members that contains already commas would split also. Any ideas?