fork download
  1. string = "1 chocolate bar at 25"
  2. p string.match(/(\d+) +(\D+) +at +(\d+)/).captures
Success #stdin #stdout 0s 28688KB
stdin
Standard input is empty
stdout
["1", "chocolate bar", "25"]