Extracting only Alphabets from a value

Hi,

I have file name (abcd001). I want to extract on the alphabets from this file name. I don't want the numeric part of it. Once i extract the alphabets the i can search for all those file. Could anyone help on this. Thanks in advance

This is what you asked for:

search=`echo $filename | tr -d [0-9]`
find /path -name "$file"\*

But I'm not sure that's what you need...

Hey Jim,

Thanks man that really worked. Here is it how it worked.

echo abcd001 | tr -d [0-9]

Output : abcd

Thats what i wanted. I just wanted to extract abcd from the file name.

Thanks you very much