To remove any invisible and special characters from the file(exclude @!#$&*)

Hi Guys,

My requirement is to remove any invisible and special characters from the file like control M(carriage return) and alt numerics and it should not replace @#!$%

abc|xyz|acd���
adc|123| 12��

Please help on this.

Thanks
Rakesh

Double post. Continue here and heed the advice given there!