1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Can anyone give me tips or give awk script to extract numbers from a text file

Discussion in 'Shell Script' started by imported_Viruthagiri, Aug 28, 2010.

  1. imported_Viruthagiri

    imported_Viruthagiri New Member

    Joined:
    Aug 28, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hello friends,
    I have text file which contains more than million phone numbers.
    Here is the example. I want to extract all numbers and put it in a excel single row file.
    Quote:
    07748362656 07532517142 07946132831 07532135934 07880531707 07816820456 07879181057 07928483273 07735721101 07668889152 07925787076 07041438421 07524774407 07948383594 07927231600 07796044906 01679953124 01615331860 07717569470 07047049480 07838966541 07751578579 07972438550 07659413272 07547510448
    Can anyone help me?.
    thanks
     

Share This Page