mysite.each {|line|
  if line =~ /<p><a href="(.+)"><b>(.+)<\/b>/
    puts "#{$2} found at: #{$1}"
  end
}

Ok guys, Lets say the website has 50+ lines.. and i only want to return
the first one, any ideas?
-- 
Posted via http://www.ruby-forum.com/.