Hi, I've come up with this sed command: sed s//media// filename One question, how can I include the / charactar in the search patton? This works fine except, I need to add a / in the search patton, any ideas how to do this so sed doesn't complain? Thanks very much, Daniel.