Braintrust query: I have a regex that strips all HTML elements from a string. Now I want one that does less, it strips all markup except <p> and </p>. Then I want one that takes a list of elements it should leave in place. Any help most appreciated! 💥#
I can't believe journalism didn't get how huge the Dobbs decision was sooner.#
Last update: Saturday September 10, 2022; 9:35 PM EDT.
You know those obnoxious sites that pop up dialogs when they think you're about to leave, asking you to subscribe to their email newsletter? Well that won't do for Scripting News readers who are a discerning lot, very loyal, but that wouldn't last long if I did rude stuff like that. So here I am at the bottom of the page quietly encouraging you to sign up for the nightly email. It's got everything from the previous day on Scripting, plus the contents of the linkblog and who knows what else we'll get in there. People really love it. I wish I had done it sooner. And every email has an unsub link so if you want to get out, you can, easily -- no questions asked, and no follow-ups. Go ahead and do it, you won't be sorry! :-)