(.*?)/’; preg_match_all($re1, $html_text, $id_match, PREG_SET_ORDER, 0); $id_string = $id_match[0][1]; $re2 = ‘/data-orig-file=”(.*?)”/’; preg_match_all($re2, $id_string, $orig_match, PREG_SET_ORDER, 0); $image_orig = $orig_match[0][1]; $re3 = ‘/caption”>(.*?)/’; preg_match_all($re3, $id_string, $caption_match, PREG_SET_ORDER, 0); $caption_text = $caption_match[0][1]; ?> <img src ="” alt=”” style=”display:block;margin-left:auto;margin-right:auto;width:256px;”>