fork download
  1. s = "I have 12 goats, 3988 otters, 224 shrimps and 456 giraffes"
  2. p x = s.match(/\b\d{3}\b/).to_s
Success #stdin #stdout 0s 6640KB
stdin
Standard input is empty
stdout
"224"