How to split a decimal number from a String in JAVA
<p>I would like to know the regex for splitting up the decimal number from a string say </p>

<p><code>str = "COD Amount = 333.98"</code> </p>

<p>in the above string value I just need only the decimal values ie <code>333.98</code>.</p>
