@daniel-norin, @guy038, all
Just for the sake of variety, here is my take. It seems to work fine on input data, hope it can deal with other inputs.
Note that it does not remove empty paragraphs, such as the first and sixth. Anyway, it is easy to delete them in a second step.
Instructions are similar to the ones provided by @guy038. Open the Replace dialog (Ctrl + H) and type:
Search: (?s)<(?!/?p>|/?h3>?).*?>| id=.*?(?=>)
Replace: [leave empty]
Put the caret at the very beginning of the document, select the Regular Expression mode and click on Replace or Replace All.
Output:
<p></p>
<p>Earlier this month we unveiled the nominees for the Ninth Annual Sprudgie Awards. Voting is now open across a dozen categories, honoring the very best in coffee. Voting ends December 31st, 2017 at 11:59 PM.</p>
<p>In this feature, we’re spotlighting the 2017 nominees for Best Coffee Film/Video, one of the tightest races in all Sprudgie Award categories. Past winners for Best Coffee Film/Video include the Gilmore Girls: A Year In The Life, Barista, Dunkin Love, Hey Girl Guide To Coffeeing, Comedians in Cars Getting Coffee, and “Kenya” (Stumptown Coffee Roasters).</p>
<p>Let’s meet this year’s nominees!</p>
<h3>The Young and the Spoonless by Cafe Imports</h3>
<p></p>
<h3>I Yelp By The Way by Dapper & Wise</h3>
Stay healthy