#!/bin/bash

read -p "Enter:" KEY
case "$KEY" in
[a-z] | [A-Z])
echo "This is a-Z"
;;
[0-9])
echo "This is number"
;;
*)
echo "This is a special string"
esac