Regular Expressions in PHP
- by kelly
Sorry for unclear description, my English is not good.
My problem is that I want to decode a string, and this string has nested content delimited by {}.
For example:
The string:
{any string0{any string 00{any string 000....}}}{any string1}any string.
The result I want to get:
array[0] = {any string0{any string 00{any string 000....}}}
array[1] = {any string1}
I hope it's clear enough.