I can easily remove a tag that has no blank spaces...
$(\'h2:empty\').remove();
But, when there is a space...
&l
This will only check for one space, but works for a basic example:
$("h2:contains(' ')").remove()