(.+)<\/section>/iUs', $html, $m ) ) { $sections = $m[1]; foreach ( $sections as $section_html ) { // Get section title if ( preg_match( '/