in reply to Reading special characters from file?
Take a look at the following:
How do I escape meta-characters in a user-defined string?