in reply to removing special characters

perldoc perlre is your friend
search for s///

regards,
tomte