If i had some text with:

Code:
opening tag: [img] 
closing tag: [/img]
with text in between and other text surrounding it too, how can i get just the text between the img tags, in an array

i.e. the following is the text:

hello this is and as you can see, i'm ok?

and it would return, in an array

http://www.microsoft.com/me.gif
http://www.microsoft.com/happy.gif

Don't know about the quality of my explanation - it'll have to do