From: Kurt Euler Date: 2002-09-11T01:07:34+09:00 Subject: Quick questions on using regular expressino with gsub... Experts- Quick question: I'm trying to use the regular expression "\d" to replace the characters "SP" followed by any single digit, with "SP" followed by the value in a string variable. However, this technique doesn't appear to make the desired replacements: pkg_base_temp.gsub!(/SP\d/, "SP"+sp_num_step) is the target string "/SP\d/" not written correctly? Thanks. -Kurt