View Single Post
Old 04-25-2025, 10:31 PM   #37
oston
Connoisseur
oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.
 
Posts: 81
Karma: 2138296
Join Date: Nov 2016
Device: ipad, Kindle Scribe, Kobo Libra 2
Quote:
Originally Posted by KevinH View Post
My first thought was that using regex, it would be quite straightforward to find and remove all alt attributes and their contents from img tags. And once you have that regex you can save it as a Saved search so it is easy to find and reuse. Access Aide uses the same approach for contents of title tags inside head tags (ie if you want Access Aide to fill them they must be empty).

What issues did you run into?
Thanks, Kevin.
I just used this for the search: alt="(.+)" , and while it found all the alt-text , there were other strings that matched the search. So I had to step through the search. Sometimes it's quicker to do that than trying to find the correct regex search.
oston is offline   Reply With Quote