Minkoo Seo wrote: > Hi group. > > Sorry for newbie question. Given the line like > > node: { title: "15597629" label: "up[0,18 p:-2270.125]" } > > How can I parse the above string into "15597629" and "up[0,18 > p:-2270.125]"? There are numbers in the first "..." and a-z, :, [, and > ] in the second "..." part. > > Thanks in advance. 'node: { title: "15597629" label: "up[0,18 p:-2270.125]" }'. split('"').values_at(1,3) => ["15597629", "up[0,18 p:-2270.125]"]