If I have this line of characters:
a:2:{i:0;s:8:"Word A";i:1;s:15:"Word B";}
I'd like to pull out the words contained within the quotations, "Word A" for example. Then place each word within an array. There could be one word or it could x number of words (it would actually be the number following the a: at the beginning).
I think regular expressions would be able to help here. If anyone could give me some guidance on how that might look would be greatly appreciated.
Thanks