echo "Enter username" read $WORD if [[ "$WORD" =~ ^(Dale|Paul|Ray)$ ]]; then echo "$WORD is valid" else echo "$WORD is invalid" fi
bash
bash ×1