i'm very new here and i hope i can explain my problem.

i've a string like this:
"{sometext {'id':123,'email':'email1','pass':'pass1'},someothertext:{'id':456,'email':'email2','pass':'pass2'}}"

and i'd like to create an array like this:
Array ( [0] => 'id':123,'email':'email1','pass':'pass1' [1] => 'id':456,'email':'email2','pass':'pass2')

i can't find the regular expression to do this... :(

well, it would be much better if i could access to the first id with $arr[0][0], first email with $arr[0][1]...etc.

can anyone help me please??
thanks a lot

---

sorry for the delay..and thank you all!!
finally i succeeded :)
i deleted the external braces, replaced single with double quotation marks and then used json\_decoded (it's perfect!)
thank you again!