Hello
I have a long variable similar to the following ...
$data=" text text text house cars [ball] test boat [one two three] ball toy text text a lot of text [nice ball] other text";
I would extract from $data and put on $test array only the text which is between
[] . So in the example above I would have an array with 3 values
[0] ball
[1] one two three
[2] nice ball
Anyone can help me to code this ?
Thank you