extracting a double value from a string of alphanumeric characters in Java
===

I'm looking for a func that does what the heading says. I ended up with writing code that parses through every character and making another string then Double.parseDouble. Which threw StringIndexoutOfBounds exception. Which is clearly not the way to go.
  
*Pre formatting not working for some reason * http://pastebin.com/UDkde0ud