View Single Post
Old 07-24-2023, 02:31 PM   #4
nabsltd
Fanatic
nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.
 
Posts: 528
Karma: 9529956
Join Date: Aug 2013
Location: Hamden, CT
Device: Kindle Paperwhite (11th gen), Scribe, Kindle 4 Touch
Quote:
Originally Posted by Tex2002ans View Post
Yes, TagMechanic is the best way to clean up all that HTML + <span> cruft.
I use the last release of Microsoft Expression Web to do all the tag-related stuff...nothing else comes close to its power.

Being able to find a tag by one or more of:
  • attribute existence or value (including regex search)
  • contained/not contained inside another tag
  • containing text (including regex)
with all of this infinitely nested when "contained inside tag" is used, and then doing one of:
  • Remove the tag
  • Change the tag
  • Remove an attribute
  • Set an attribute value
  • Remove the tag and contents
  • Replace the tag and contents
  • Replace contents only
  • Add before/after beginning/ending tag
The only thing that isn't really covered is changing the outermost tag where you only want to change it when it contains another tag with specific details.
nabsltd is offline   Reply With Quote