image url regex should be a global case-insensitive replace