Labels Milestones
BackContributor might include the brackets!) The text should be enclosed in the post that we want $url_xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this // only keep everything starting at the first if(preg_match("@.*(