[Resolved] preg_match() or something?
In my table, there's a bunch of text that may contain image tags, such as:
What I need to do is is search through the whole text and extract all the images and put them in an array. So the above would give me:
I've tried various things with preg_match() and preg_replace(), but I'm fumbling around.
With preg_match, it will still have the various [img] stuff in it and will be in one string, rather than an array. So there's a bunch of additional stuff I'd have to do to parse it.
Is there a better way?