I’ve just come across a series of regular expressions that will remove smart tags, o tags, and other Microsoft XML cruft from HTML documents. Jonathan Snook is my hero du jour.
With one minor modification, it’ll catch the closing smart tags too: </?st1:.*?>.
Leave a Reply