If it’s always the last value separated by spaces, you can use Split and take the last string.
This might also depend on what you are going to do with these values.
Here is an example:
Assume “str” is variable with text
I don’t know if this is the most ideal for what you need but maybe it will help strike some other ideas.
This example splits by Newline, then runs a LINQ through each line and only stores the .Last string in the line.
You can also simply just run a ForEach through str.Trim.Split(System.Environment.Newline(0)), and pull the last item (line.ToString.Trim.Split(" "c).Last) in the loop as you process the line.