$my_text = "\\"question\\":\\"C\\",\\"question\\":\\"D\\","; $my_array = preg_split("\\"question\\"