Hi, I want to translate the following Perl code into Ruby: @captures = ($text =~ /company=(.+)/g) Basically, the Perl version uses the g modifier to capture all occurrence of the matches in () and put them into an array. How do I do this in Ruby? Thanks in advance. Lei