How can i strip including this content
including this content
I know you can use strip tags to remove the tags, but i want everything in between gone as w
You could use an XSLT stylesheet and match all tags to themselves except for the h1 tag which would be matched to the empty string, and then apply it to your document. Might be a bit too heavy-weight for doing something as simple as this though.