Change image checking with Regex