need help with some text formating

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zentz
    Confirmed User
    • Nov 2003
    • 8062

    #1

    need help with some text formating

    I have a long list like this:

    collumn1|collumn2|collumn3|collumn4|collumn5|collu mn6|
    2.6.190.56|2.6.190.63|33996344|33996351|GB|United Kingdom|
    3.0.0.0|4.17.135.31|50331648|68257567|US|United States|
    4.17.135.32|4.17.135.63|68257568|68257599|CA|Canad a|
    4.17.135.64|4.17.142.255|68257600|68259583|US|Unit ed States|
    4.17.143.0|4.17.143.15|68259584|68259599|CA|Canada |
    4.17.143.16|4.18.32.71|68259600|68296775|US|United States|
    4.18.32.72|4.18.32.79|68296776|68296783|MX|Mexico|
    4.18.32.80|4.18.40.135|68296784|68298887|US|United States|
    4.18.40.136|4.18.40.143|68298888|68298895|CA|Canad a|
    4.18.40.144|4.18.65.255|68298896|68305407|US|Unite d States|
    4.18.66.0|4.18.67.255|68305408|68305919|MX|Mexico|
    4.18.68.0|4.18.100.31|68305920|68314143|US|United States|

    Now i want to remove the collumn1, collumn2 and collumn5 so i get this format:

    |collumn3|collumn4|collumn6|
    |33996344|33996351|United Kingdom|
    |50331648|68257567|United States|
    |68257568|68257599|Canada|

    What is the easiest way to do this? Are there any tools for stuff like this?

    Thank you!
    Programs that owe me money ---- Epassporte.com ~ $2700 | Protraffic.com ~ $2600 | XonDemand.com ~ $3000

    Email: [email protected]
  • viki
    Confirmed User
    • Jan 2005
    • 2640

    #2
    Import the list into Excel or another spreadsheet program and choose | as the delimiter... then just delete the columns you don't want.

    viki [at] realsexcash [dot] com
    228 263 454

    Comment

    • zentz
      Confirmed User
      • Nov 2003
      • 8062

      #3
      ok now i got another problem. the list looks like this:

      33996344|33996351|United Kingdom|
      50331648|68257567|United States|
      68257568|68257599|Canada|
      68257600|68259583|United States|
      68259584|68259599|Canada|
      68259600|68296775|United States|
      68296776|68296783|Mexico|
      68296784|68298887|United States|
      68298888|68298895|Canada|
      68298896|68305407|United States|

      but i need to add the | in the beinning of each line like this:

      |33996344|33996351|United Kingdom|
      |50331648|68257567|United States|
      |68257568|68257599|Canada|

      Any ideas?
      Programs that owe me money ---- Epassporte.com ~ $2700 | Protraffic.com ~ $2600 | XonDemand.com ~ $3000

      Email: [email protected]

      Comment

      • RedShoe
        赤い靴 call me 202-456-1111
        • Feb 2001
        • 14831

        #4
        open it back up in excel and add a new column to the left of your data? Would that work?

        SPECIALTY COSTUMES • PROPS • FX
        Superheroes • Monsters • Robots
        PM for details


        For any manufacturing needs. Adult or otherwise.

        aka BonsHigh on Insta
        Bonsai weed plants


        Comment

        • martinsc
          Too lazy to set a custom title
          • Jun 2005
          • 27047

          #5
          Originally posted by RedShoe
          open it back up in excel and add a new column to the left of your data? Would that work?
          yup, insert a new column on the left and drag with CTRL the | sign all the way down
          Make Money

          Comment

          • RedShoe
            赤い靴 call me 202-456-1111
            • Feb 2001
            • 14831

            #6
            if that WON'T work, then maybe open in excel, add a column and add a character that you know you can mass replace something like:

            zzzz|33996344|33996351|United Kingdom|
            zzzz|50331648|68257567|United States|
            zzzz|68257568|68257599|Canada|

            Then just do a mass search and replace for "zzzz" it will remove the "zzzz" and leave a pipe.

            yes? no? maybe so?

            SPECIALTY COSTUMES • PROPS • FX
            Superheroes • Monsters • Robots
            PM for details


            For any manufacturing needs. Adult or otherwise.

            aka BonsHigh on Insta
            Bonsai weed plants


            Comment

            • zentz
              Confirmed User
              • Nov 2003
              • 8062

              #7
              ok thanks every1 it worked!
              Programs that owe me money ---- Epassporte.com ~ $2700 | Protraffic.com ~ $2600 | XonDemand.com ~ $3000

              Email: [email protected]

              Comment

              • viki
                Confirmed User
                • Jan 2005
                • 2640

                #8
                Or open it up in a text file, find

                "|
                "

                (that would be the pipe at the end of one line and an enter key

                and then replace with

                "|
                |"

                There are tons of ways to do this - find, replace, cut, copy, and paste are all your friends.

                viki [at] realsexcash [dot] com
                228 263 454

                Comment

                Working...