Rewrite URL match regex and image alt text matcher