preg_match bbcode
I currently have bbcode like this

    [caption=Some text goes here]image.jpg[/caption]

I'd like to use php's preg_match so I can get the value of the image.jpg, regardless of what's next to 'caption='. Can someone help me out?

Thanks!
preg_match bbcode
===

I currently have bbcode like this

    [caption=Some text goes here]image.jpg[/caption]

I'd like to use php's preg_match so I can get the value of the image.jpg, regardless of what's next to 'caption='. Can someone help me out?

Thanks!