I need a tool , program software that...

Discussion in 'Programming' started by eLeSlash, Mar 17, 2009.

  1. #1
    Is there a tool a command or something that ads a "specific text" in the end of a line of a .txt file or something?

    Example : i wish to add "@yahoo.com," to the list below

    alexandra_t2007
    alex17_vip
    alex10830
    alex04_junior
    alex.cobra91

    like this :

    ,
    ,
    ,
    ,
    ,


    Is there something free that do it automaticaly? or i must do it manualy...:(


    With respect,
    A.Razvan
     
    eLeSlash, Mar 17, 2009 IP
  2. DanPonjican

    DanPonjican Active Member

    Messages:
    268
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    80
    #2
    Try TextPad. You can record a macro once and then have it repeat that action throughout the file until the end. I use it for stuff like this all the time.
     
    DanPonjican, Mar 17, 2009 IP
    eLeSlash likes this.
  3. codecre8r

    codecre8r Well-Known Member

    Messages:
    148
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    128
    #3
    I use TextPad to do this sort of stuff all the time. You can do a Regular Expression replace like this:

    Search for: \n
    Replace with: @yahoo.com,\n
     
    codecre8r, Mar 17, 2009 IP
  4. eLeSlash

    eLeSlash Active Member

    Messages:
    1,233
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    80
    #4
    codecre8r the textpad errors me "Cannot find literal string: \n" Tell me the exact commands please :).
     
    eLeSlash, Mar 17, 2009 IP
  5. codecre8r

    codecre8r Well-Known Member

    Messages:
    148
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    128
    #5
    Check the box that says 'Regular expression' and search again.
     
    codecre8r, Mar 17, 2009 IP
    eLeSlash likes this.
  6. eLeSlash

    eLeSlash Active Member

    Messages:
    1,233
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    80
    #6
    yes i did it thanx you VERRY MUCH ! saved me here, Added one reputation you and DanPonjican.
     
    eLeSlash, Mar 17, 2009 IP
  7. codecre8r

    codecre8r Well-Known Member

    Messages:
    148
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    128
    #7
    Thanks! I appreciate it.
     
    codecre8r, Mar 17, 2009 IP
  8. jazzcho

    jazzcho Peon

    Messages:
    326
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Notepad++ has the column functionality! You can easily add text and it is free. :)
     
    jazzcho, Mar 27, 2009 IP