adding message for regex validation