`match` is similar to exec, but in flip mode:

console.log("one two 100".match(/\d+/));