Remove everything up to the last numbers of a string w/ sed or awk
I know that the expression for the last numbers in a line is "[0-9]*$" if that makes any more sense. Ive got somthing that looks like "hey1234" and I need "1234" to be output. Of course, it could also read "hey123", or "hey there 12345" It could even read "hey123 there1234" and I would still need "1234", so I cant just remove all the numbers. Thanks.
|