I want to test STR contain alphabetic as (a-z) (A-Z) or alphabetic with numbers
meanwhile I have this
[[ "$STR" =~ [a-zA-Z0-9] ]] && echo "contain alphanumerics"
but this works even STR have only numbers
while we want to print only if STR is contain alphabetic or alphabetic & numbers"
will print on the following case
gstfg523 HGFER34 JNF GFGTVT 83bfF
will not print on
2424 4356 632 @65$ &%^$ 82472243(*