Source code quote in PHPn° 216
June 27, 2014 am30 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);
}