is is possible remove junk chars from the strings?

Hello friendz,

dfl;g435hkd.fge[De[De[De[De[De[De[Ce[Ce[Ce[Be[Ae[Be[Be[De[De[De[3~e[3~e
..this is what I am getting. I want to print strings without junk chars.

I want to exactly like this... dflg435hkd.fg ...need some specific operators also. for example, dot or comma should allow.

plz help me out ya!

~Balan:confused:

Put your string through

tr -cd "[:print:]"