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

Notepad ++ Help

Discussion in 'BlackHat Lounge' started by Knoxgates, Dec 15, 2010.

  1. Knoxgates

    Knoxgates Supreme Member

    Joined:
    Aug 9, 2008
    Messages:
    1,266
    Likes Received:
    918
    Hi,

    I have a notepad file that contains a list of domains like this
    Code:
    destination.info/bookmarks.php/jisha/?page=17
    destination.info/bookmarks.php/jisha/?page=19
    destination.info/bookmarks.php/jisha/?page=2&sort=title_desc
    destination.info/bookmarks.php/jisha/?page=23&sort=title_asc
    destination.info/bookmarks.php/jisha/?page=25&sort=title_asc
    destination.info/bookmarks.php/jisha/?page=9&sort=date_asc
    destination.info/bookmarks.php/jisha/echo point?page=1&sort=title_desc
    destination.info/bookmarks.php/jisha/echo point?page=2&sort=date_asc
    destination.info/bookmarks.php/jisha/echo point?page=3&sort=url_desc
    destination.info/bookmarks.php/jisha/echo point?page=4&sort=date_desc
    
    I there any way for removing the part after the /

    I only want domain name like this
    Code:
    destination.info
    Anybody help
     
  2. star3

    star3 Registered Member

    Joined:
    Apr 1, 2010
    Messages:
    75
    Likes Received:
    13
    Use the "Text to Column" feature in excel or any other spread sheet software.
     
    • Thanks Thanks x 1
  3. onelifewunlove87

    onelifewunlove87 Power Member

    Joined:
    Dec 8, 2008
    Messages:
    526
    Likes Received:
    158
    yea exactly or just do a search replace of / and replace it with , or "," then open the file in csv in a column based program like excel and just delete the other column
     
    • Thanks Thanks x 1
  4. Muhammad Mustafa

    Muhammad Mustafa Newbie

    Joined:
    Nov 1, 2009
    Messages:
    20
    Likes Received:
    3
    excel is the way to go as they said, or others if any, but, to make long story short, don't look into Notepad++ for this, I've been using it for around 3+ years or so, and you can't do such thing using it!
     
    • Thanks Thanks x 1
  5. Knoxgates

    Knoxgates Supreme Member

    Joined:
    Aug 9, 2008
    Messages:
    1,266
    Likes Received:
    918
    Thanks star3 . This resolved the issue.

    This is why i love this forum. You get answers to your questions quickly.
     
    Last edited: Dec 15, 2010