From: Stuart Brand Date: 2006-06-05T21:52:57+09:00 Subject: New webserver Im designing a webserver as my first project on Ruby I need help with this line fileLine.sub(/\.\.\//, '') this is to remove any "../" that occur due to users trying to brake in, or by accident ;) However, this only removes the first instance of the ../ how do I remove every instance? Many thanks Stuart -- Posted via http://www.ruby-forum.com/.