I am looking for a simple way to extract set of numbers from a string in Java.
For instance:
String temp = "120.6 + 220.4";
I want to extract "220.4" from the string and assing it to a double variable. Can anyone help me with a simple solution for this?