in reply to removing special characters

Try the tr///d command instead of s/// if you simply want to remove all occurances of some characters and don't need patterns.

—John