Как убрать Лишнее из Файла

Discussion in 'Болталка' started by Berlin1, 1 Apr 2012.

  1. Berlin1

    Berlin1 Banned

    Joined:
    16 Mar 2012
    Messages:
    35
    Likes Received:
    6
    Reputations:
    0
    Привет всем.
    Есть такой список в txt
    как оставить там мне нужное а не нужное
    удалить.Нужно оставить Имена или Числа
    Мне не понятно как можно это сделать.
    Учить Excel не выход время нет для этого.
    Есть быстрый способ отчистить фаил от Хлама
    или может кто покажет в картинах как искал в Гугле такого не нашел что нужно или не так задал вопрос..
    или может есть у кого то видео урок по этому..
    За ранее всем.

    Пример того что нужно мне..

    Code:
    Minos and the name from which the continent of Europe was derived.
    EURYBIA (Ευρυβία): Greek name meaning "wide force." In mythology, this is the name of a goddess of the seas, and wife of the Titan Krios.
    EURYDIKE (Ευρυδίκη): Greek name composed of the elements eurys "wide" and dike "justice," hence "wide justice." In mythology, this is the name of several characters, including the wives of Akrisios, Kreon, Nestor, and Orpheus. 
    EURYNOME: Greek name meaning "far-ruling." In Orphic mythology, this was the name of the goddess-queen of the world before Rhea and Kronos cast her and her husband Ophion into Tartarus.
    EUTERPE (Ευτέρπη): Greek name meaning "delight." In mythology, this is the name of one of the Muses fathered by Zeus, known as the "giver of pleasure."
    EUTHALIA (Ευθαλία): Greek name composed of the word eu "good, well" and the name Thaleia "blooming, flourishing," hence "well-blooming/flourishing." This is the also the name of some species of butterflies. 
    EUTROPIA (Ευτροπια): Feminine form of Greek Eutropios, meaning "versatile." Compare with another form of Eutropia.
    EVA (Εὔα): Greek form of Hebrew Chavvah, meaning "life." In the bible, this is the name of the first woman, the mother of the entire human family. Compare with another form of Eva.
    EVDOKIA: Variant spelling of Greek Eudokia, meaning "good-seeming."
    EVGENIA: Modern form of Greek Eugeneia, meaning "well born."
    FOTEINI (Φωτεινή): Variant form of Greek Photine, meaning "light."
    FOTINI (Φωτινή): Variant spelling of Greek Foteini, meaning "light."
    FRONA: Short form of Greek Sofronia, meaning "self-controlled."
    GAIA (Γαîα): Greek name meaning "earth." In mythology, this is the name of the goddess of earth, the wife of Ouranos and mother of the Titans. Her Roman name is Terra.
    GALÊNÊ (Γαλήνη): Greek name meaning "calm seas." In mythology, this is the name of a sea nymph and goddess of calm seas.
    GE (Γῆ): Modern form of Greek Gaia, meaning "earth." In mythology, this is the name of the goddess of earth, the wife of Ouranos and mother of the Titans.
    GIA: Variant spelling of Greek Gaia, meaning "earth."
    GLYKERIA (Γλυκερία): Greek name derived from the word glykys, meaning "sweet."
    GOLGOTHA (Γολγοθά): Greek name derived from Aramaic gûlgalthâ ("skull"), hence "place of the skull." In the bible, this is the name of the place where Jesus was crucified.
    GORGOPHONE (Γοργοφόνη): Greek name composed of the elements gorgo "grim" and phonos "murderer, slayer," hence "grim slayer." In mythology, this is the name of a daughter of Perseus.
    Мне нужны только Имена

    В Гугл не посылать
     
    #1 Berlin1, 1 Apr 2012
    Last edited: 1 Apr 2012
  2. mironich

    mironich Elder - Старейшина

    Joined:
    27 Feb 2011
    Messages:
    733
    Likes Received:
    73
    Reputations:
    19
    Code:
    grep -o '[A-Z]\{5,70\}' name > name.txt
    Эта команда выведет все строки из файла name в большом регистре, в файл name.txt.
    А так тебе надо, учиться мысли свои излагать, хрен поймеш где тут имена..
     
  3. Berlin1

    Berlin1 Banned

    Joined:
    16 Mar 2012
    Messages:
    35
    Likes Received:
    6
    Reputations:
    0
    Как эту команду использовать..
    Куда её вставить то.
    В txt Excel и как
     
  4. mironich

    mironich Elder - Старейшина

    Joined:
    27 Feb 2011
    Messages:
    733
    Likes Received:
    73
    Reputations:
    19
    google.com->wingrep
     
  5. Berlin1

    Berlin1 Banned

    Joined:
    16 Mar 2012
    Messages:
    35
    Likes Received:
    6
    Reputations:
    0
    можешь нормально сказать
    я не пойму. как это и куда.
     
  6. yarbabin

    yarbabin HACKIN YO KUT

    Joined:
    21 Nov 2007
    Messages:
    1,664
    Likes Received:
    913
    Reputations:
    363
    https://www.google.ru/search?q=wingrep
     
    _________________________
  7. Berlin1

    Berlin1 Banned

    Joined:
    16 Mar 2012
    Messages:
    35
    Likes Received:
    6
    Reputations:
    0
    Какой толк с программы не пойму я..
    причем она к этому
     
  8. Spyder

    Spyder Elder - Старейшина

    Joined:
    9 Oct 2006
    Messages:
    1,388
    Likes Received:
    1,209
    Reputations:
    475
    [​IMG]
     
  9. Berlin1

    Berlin1 Banned

    Joined:
    16 Mar 2012
    Messages:
    35
    Likes Received:
    6
    Reputations:
    0
    по Eхcel подсказали програмеры
    А тут все сложно как то а там нет не чего сложного.

    может пригодится таким как я.
    http://www.youtube.com/watch?v=N74HKu_gdts&feature=player_embedded
     
  10. mironich

    mironich Elder - Старейшина

    Joined:
    27 Feb 2011
    Messages:
    733
    Likes Received:
    73
    Reputations:
    19
    Так сложно cmd.exe->grep .
     
  11. sn0w

    sn0w Статус пользователя:

    Joined:
    26 Jul 2005
    Messages:
    1,021
    Likes Received:
    1,200
    Reputations:
    327
    отрезай все после '(' или ':'
     
  12. Berlin1

    Berlin1 Banned

    Joined:
    16 Mar 2012
    Messages:
    35
    Likes Received:
    6
    Reputations:
    0
    Как можно легко и просто это
    сделать в Notepad ++ или в подобных
    текстовиках..
    Только если можно подробней..
    Один способ я понял уже а вот по текстовику пока нет..