From: Zhao Yi Date: 2008-12-04T16:25:03+09:00 Subject: Looking for a pattern I am looking for a pattern to match the last underline and its following string with "####". for example, "abc_def_ghi" => "abc_def####" If I use _.* as the pattern it will replace begin with the first underline. Which pattern is suite for this case? thanks. -- Posted via http://www.ruby-forum.com/.