I need to extract the first number from a string, but I don't know the exact format of the number.
The number could be one of the following formats...1.224 some decimal... 3,455,000 some number with unknown number of commas... 45% a percentage ... or just an integer 5
it would be something like blah blah $ 2,400 or blah blah 45% or blah blah $1.23 or blah blah 7
would be interesting if it was intelligent enough to do word numbers too like blah blah seven
I don't need the dollar sign, just the number