> re = /http\:\/\/[_a-zA-Z0-9-]+[\._a-zA-Z0-9-]+/ > matches = line.scan( re ) > > It will return an array that contains everything you are looking for ... Cool, I didn't know if scan returned an array (although I might have suspected it, so many Ruby methods do.) -Chris