From: Ruby Newbee Date: 2009-12-09T12:10:28+09:00 Subject: which is better? Hi, I want to delete the numbers in a string, for example, x="abcd1234" I have two ways: x.gsub! /\d+/,"" x[/\d+/]="" Which one is better? I personally prefer the second one. Thanks.