Amusing you want to catch all h1/2 etc:
find : <(h\d)[^<>]*>(.+)</\1>
replace : <\1>\2</\1>
If you are cleaning up books or something, it's often best to work from an HTMLZ export - In the format options you can select how CSS is handled, the 'tag' option will not add any extra stuff, tho I cant remember if it preserves bold/italic etc formatting - i.e placing <i> tags..
|