pattern matching on any special character in Unix

Hi,

I have field in a file which would come with any special character, how do i check that field?

Eg: @123TYtaasa>>>/ 131dfetr_~2

[A-Za-z0-9]

In the above example, how do I add pattern for any special character on the keyboard.

Thanks

What do you mean by "special character"?

$#@!~%^&*()_+:"{}><?|

Add the characters to your pattern.