undef $/; print join('',grep{m/\d/} split(//,<DATA>)); [download]
In reply to Re: Collect numbers without the text by Anonymous Monk in thread Collect numbers without the text by ITmajor