s/\p{IsCntrl}//g; [download]
In reply to Re^3: noobie control char removal by colwellj in thread noobie control char removal by desertman