in reply to special symbol removal

See perlretut. It's not hard, once you decided what you actually want to remove (or what you want to keep, for that matter).

See also: Scrubbing a string