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/.