This can be done better by using the command regex as per the man pages, but I hav not used this command , I am using sun solaris 2.6 ver, When i tried this cmd , it says cmd not found.<br><br>Can any one let me know how to use regex to solve this problem.<br><br>The above awk program solves the problem to some exetent only, If the input is something like "34sed" it still considers as Numeric.<br>