I want to check if a string does not contain any letters, I figured out how to check whether a string does contain any letters but I don't know how to inverse it so I don't have to go to the else
block.
if [[ $var =~ [a-zA-Z] ]]; then
echo ""
else
echo -e "$ERROR, no description"
fi