Refactored image alt text and URL match regexes