In other languages, in RegExp you can use /.../g for a global match.
/.../g
However, in Ruby:
\"hello hello\".match /(hello)/
use String#scan. It will return an array of each match, or you can pass a block and it will be called with each match.
String#scan
All the details at http://ruby-doc.org/core/classes/String.html#M000812