PHP: Get all lines containing specific text -
i'm trying parse source code website goes like <html> ... ... ... <div class="menu_body"> <a href="url" onclick="_gaq.push([parameters]);location.href=this.href+'?channelid=287&date='+dateofmonth;return false;"> <img src="img"></a> <a href="url"><img src="img"></a> <a href="url"><img src="img"></a> </div> ... ... <div class="menu_body"> <a href="url"><img src="img></a> <a href="url"><img src="img"></a> <a href="url"><img src="img"></a> </div> ... ... ... </html> what want if possible grep out lines contains channelid , not sure if it's possible? sounds want sort of html parser http://si...