jQuery("p.tableblock").each( function(i){var childNodes = this.childNodes;jQuery(this).replaceWith(childNodes);});