string checking

lets think str is a variable...how can i check it is pure alphabetic or not
for numeric checking i have used echo $str|grep -v [[:alpha:]]
but the command echo $str|grep -v [[:num:]] is not working

Try [[:digit:]].