I have a series of small text strings. Each contains a statement of a range of values, but in different forms:
1 - 5
3 to 24
6 thru 9
usually from 5 up to 12, but could be as much as 20 or more
I want to extract the numbers from the phrases so I can determine the max and min in the entire set of phrases. Making that determination is no problem, it's hw to extract the numbers.....
I can't always count on there being spaces between the numbers and the other text. A phrase could be mis-typed:
7-8
Thanks
Forget that fear of gravity,
Get a little savagery in your life.
In reply to extract numbers from unformatted text strings by punch_card_don
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |