I have this string:
{example1}{example2}{example3}
This is the regular expression to find these {
anything in it
}
:
/\{.*?\}/g
Now I want to know how put them in an array so I can do a FOR IN
statement.
EDIT
I want an array something like array("{example1}","{example2}","{example3}");
?