I would have thought this question would fit better in a different forum from IO.
There are several ways you can split the String. One is to use String#split() (try "\\s+" as the regex: it means any number of whitespace characters greater than 0).
Try repeatedly testing for the number following. You can create a Scanner passing the String to its constructor and then repeatedly query whether it has a next double.
It all depends on how many numbers you expect to find in the text and how many you want to display.
The String#format() method might be a good way to create the display.