fork download
  1. @from = "John Doe <john.doe@daemon.co.uk>"
  2. @from.scan(/\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b/i) { |x| puts x }
Success #stdin #stdout 0s 4760KB
stdin
Standard input is empty
stdout
john.doe@daemon.co.uk