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

program to remove rows from text file? (xr)

Discussion in 'Black Hat SEO' started by genotip, Feb 9, 2011.

  1. genotip

    genotip Regular Member

    Joined:
    Aug 24, 2010
    Messages:
    256
    Likes Received:
    26
    hello,
    looking for a simple way to remove rows from text files. means - i have 1'000 comments with spaces, for exmple:
    hello,
    my name is....
    good to be here.

    i'm looking for a way to put it all in 1 row. so it will be:
    hello, my name is.... good to be here.

    so i could put all the 1'000 comments on one file and XR could work with it (using #file_links).

    anyone knows how to make it easy?
     
  2. Autumn

    Autumn Elite Member

    Joined:
    Nov 18, 2010
    Messages:
    2,197
    Likes Received:
    3,041
    Occupation:
    I figure out ways to make money online and then au
    Location:
    Spamville
    Have you got PHP installed on your computer? Or are the text files on a webserver with PHP enabled?
     
  3. dichotom

    dichotom Elite Member

    Joined:
    Dec 9, 2008
    Messages:
    1,911
    Likes Received:
    544
    Notepad++ can usually work out whatever I need through regex, do some searches on google for what you want and throw "notepad++" on the end of the search and you will most likely find a solution to your problem
     
  4. m3ownz

    m3ownz Regular Member

    Joined:
    Dec 12, 2009
    Messages:
    311
    Likes Received:
    135
    How EXACTLY does it need to be formatted?

    Eg if you have:
    hello
    hi
    good day

    Do you want it like:
    hello,hi,good day
    OR
    hello#hi#good day
    OR
    {hello|hi|good day}

    Etc, eg what will separate the line entries when they are all on one line?
     
  5. genotip

    genotip Regular Member

    Joined:
    Aug 24, 2010
    Messages:
    256
    Likes Received:
    26
    thanks all...
    i took the PHP idea and just asked from some programmer to build me small function to do it fast....