How can I remove entire <img width= height= alt= src=*** >
where src contains the word adult ?
This is a part of website.
Thanks!
this is the part of my code that gets me the <img>
$dom->load ('domain');
$CONTENTS = $post->getElementsByTagName( "description" );
$content = $CONTENTS->item(0)->nodeValue;
$nohtml = strip_tags($content,'<br><b><img>');