I want to extract data in between <div id="navigation"></div>
tags using regular expression from html content(string). Any help is appreciated.
`$html = load($url);
preg_match_all ("/<div>(.+?)<\/div>/is",
$html, &$matches);
$matches = $matches[1];
$list = array();
foreach($matches as $var)
{
print("<br>");
print($var."<br>");
}`
Here I want to retrieve data from a specific div tag.