[#70288708] Fixed regex validation for image

Signed-off-by: Keri Clowes <kerilyn.clowes@gmail.com>