Citation de code source en PHPn° 216
27 June 2014 à 05:17
// Used on an HTML string to clean up the tags...I guess PHP's strip_tags() was too mainstream for this dude !
function filterTags($str)
{
return preg_replace("#<[^>]*>#is", '', $str);
}