It depends just what you mean by ``escape''. URL escapes are dealt with in perlfaq9. Shell escapes with the backslash (\) character are removed with
s/\\(.)/$1/g;