Ver original$string = '<p> </p> <div></div> <a> </a><b> asdasd </b>';$string = preg_replace('/(\<.*\>\s*\<.*\>)/iU','',$string);echo $string;