$str = '(1,"(text),(text)", 123),(2,"(string)", 234),(...)'; [download]
In reply to Re^3: split on the pattern of '),(' by ikegami in thread split on the pattern of '),(' by spz1st