title: How to extract decimal number from string using JavaScript
body: <p>I want to extract decimal number <code>265.12</code> or <code>0.0</code> from alphanumeric string (say amount) having value <code>$265.12+</code> or <code>$265.12-</code> or <code>$0.0+</code> or <code>$0.0-</code> and use it apply struts logic tag in JSP. Not sure how to extract number maybe with help of JavaScript.</p>