From: Dave Burt Date: 2005-09-05T17:16:28+09:00 Subject: Re: Making my Regex less greedy? luke asked: > ... Out of curiosity, is it easy to express "find the 3rd match"?. (Rather > than saying "find 3 matches"). scan will find all matches, so you can do: a = "first second third".scan(/\w+/) a[2] #=> "third" Cheers, Dave