You're sort of on the right track...
s/[^0-9]+//g;
That will get the RE to do what you're trying to do.
Dave
In reply to Re: Numbers only in a string
by davido
in thread Numbers only in a string
by powerhouse
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |