$content = preg_match('/[flv[^/]]+:(.*?)[^/]]*/]','', $content);
Could someone give me the regular expression for extracting [flv:example.flv 465 301] from a string. Also, I would like to put the example.flv into second element of the array, and the dimensions in to the third element. I have tried the above regex and it fails miserably. Any help would be much appreciated. Thanks