preg_match_all regex help

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

preg_match_all( "/(EXIF_Caption_Cell (Windows XP -.*?) <pre>
(.*?)<\/pre>.*?/", $meta_str, $out, PREG_PATTERN_ORDER );

So I get two values per each string ($meta_str) loaded into the array $out.

What I really want to do capture these as $1 and $2 and concatenate them
and read that into a variable.

The code above reads it into an array - and  before try to figure out how to
combine the array elements in the way i need i thought there might be a
simpler way.


Site Timeline