added regex validation rule