I write some java code to split string into array of string. First, I split that string using regex pattern \"\\\\,\\\\,|\\\\,\" and then I split using pattern
\"\\\\,\\\\,|\\\\,\"
Case 1: Split by ,, else , This gets only first case, the rest split by ,.
,,
,
Case 2: Split by , else ,, gets all cases. So ,, gets split into word and ,word. Then ,word gets split into " " and word.
word
,word