case insensitive replaceAll
fix bug with image download (non-cleaned html content was given to the img matcher)