I have one string like the following (the number of the {}
is unknown):
{test}{test1}{test2}{test3}{test4}
Now I like to get the content in {}
out and put them into array. How can I do this? I tried:
preg_match( "/(\{{\S}+\}*/)*")
But the result is wrong. Thanks so much for anyone's help.