perldoc -f quotemeta that builtin should do what you want quite nicely. -------- Matt Cashner Web Applications Developer The Creative Group (http://www.cre8tivegroup.com) sungo at earthling.net | Codito, ergo sum