add regex, upload image