I want to grab the last two numbers (one int, one float; followed by optional whitespace) and print only them.
Example:
foo bar bla 1 2 3
grep is the right tool for extracting.
using your example and your regex:
kent$ echo 'foo bar bla 1 2 3.4'|grep -o '[0-9][0-9]*[\ \t][0-9.]*[\ \t]*$' 2 3.4