http://www.perlmonks.org?node_id=762954


in reply to Re: Conditional regex
in thread Conditional regex

On the flip side, you could convert all alt-less image tags to say alt="Nkuvu says missing tag here!" which would allow an editor to actually go through and find the tags that need to be manually updated. Essentially highlighting the TODO sections.

Not that I expect this is the intent in this particular scenario, but I could see using a script to find all alt-less image tags.