From: pustoi@... Date: 2004-12-30T01:46:46+09:00 Subject: gsub (replace path) Hello, How can I cut out piece from path in ruby ? For example I have path like that: path = /dir/dir/.../dir/content/dir/dir/.../dir/ ,where "dir" should be anything and I need to cut off all before content/dir/dir/.../dir/ Thank you in advance !