You can also use the
expr command :
[ $(expr "$VAR" : "^[A-z].*$"
-ne 0 ] && echo "found regular expression"
[COLOR=/blue]expr[/color]
expr1 :
expr2
The matching operator : compares the first argument
with the second argument which must be a regular
expression. expr supports the Basic Regular
Expression syntax (see regexp(5)), except that all
patterns are ``anchored'' (i.e., begin with ^) and,
therefore, ^ is not a special character, in that
context. Normally, the matching operator returns
the number of characters matched (0 on failure).
Alternatively, the \(...\) pattern symbols can be
used to return a portion of the first argument.
See the the man page ... Jean Pierre.