text preg_replace class thumbnail si element- outertext text preg_repl

1
2
$text .= preg_replace('|<a class="thumbnail(.*?)</a>|si','',$element->outertext);
$text .= preg_replace('|<a class="thumbnail(.*?)</a>|si','',$element->innertext);