How can extract piece of string which is located between second occurrence of the ":" character and second occurrence of "," in piece of string?
substr() can't help me, since the length of the peace of the string that I want to extract may vary. I am not posting any code, since I have no clue where to start from. I am searching string manipulation functions, but without any luck so far. I am not sure if this can be done with regular expressions either, since it is second concurrence.
Here is the part of the string that I am trying to manipulate
[3] => 93,text:Πού είναι αυτή η πόλη:,photo:c083,correct:2,answers:[{text:Βενεζουέλα.,correct:false},{text:Βραζιλία.,correct:false},{text:Πέρυ.,correct:true}]},{