JS wyodrębnia wszystkie tagi nie mają att

$(".post-content p:not([data-something])").remove();
Borma