How to remove all the characters on a line before a specified character












0















I am trying to figure out how to rip all the TLD's from a huge list of domain names. Rather than copy paste each one i'd just like to remove ALL the text before the '.'



Before:




  • exmample1.com

  • exmample1.org

  • exmample1.fr

  • exmample1.eu

  • exmample1.es

  • exmample1.net


After:




  • com

  • org

  • fr

  • eu

  • es

  • net


I have tried all the other methods in all the other questions. None of them work for me.



Any help would be great, thanks!










share|improve this question



























    0















    I am trying to figure out how to rip all the TLD's from a huge list of domain names. Rather than copy paste each one i'd just like to remove ALL the text before the '.'



    Before:




    • exmample1.com

    • exmample1.org

    • exmample1.fr

    • exmample1.eu

    • exmample1.es

    • exmample1.net


    After:




    • com

    • org

    • fr

    • eu

    • es

    • net


    I have tried all the other methods in all the other questions. None of them work for me.



    Any help would be great, thanks!










    share|improve this question

























      0












      0








      0


      2






      I am trying to figure out how to rip all the TLD's from a huge list of domain names. Rather than copy paste each one i'd just like to remove ALL the text before the '.'



      Before:




      • exmample1.com

      • exmample1.org

      • exmample1.fr

      • exmample1.eu

      • exmample1.es

      • exmample1.net


      After:




      • com

      • org

      • fr

      • eu

      • es

      • net


      I have tried all the other methods in all the other questions. None of them work for me.



      Any help would be great, thanks!










      share|improve this question














      I am trying to figure out how to rip all the TLD's from a huge list of domain names. Rather than copy paste each one i'd just like to remove ALL the text before the '.'



      Before:




      • exmample1.com

      • exmample1.org

      • exmample1.fr

      • exmample1.eu

      • exmample1.es

      • exmample1.net


      After:




      • com

      • org

      • fr

      • eu

      • es

      • net


      I have tried all the other methods in all the other questions. None of them work for me.



      Any help would be great, thanks!







      notepad++






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 10 '13 at 6:43









      user2526699user2526699

      322411




      322411






















          1 Answer
          1






          active

          oldest

          votes


















          3














          In "Search and Replace" dialogue box (Press Ctrl+H)



          Under "Search Mode", Choose "Regular Expression"



          Under "Find What: ", paste



          ^.+[.]



          Click "Replace All"





          Explanation of PCRE



          ^ Beginning of the string



          . Any character



          + One or more the previous character (greedy)



          [.] One character of dot






          share|improve this answer






















            protected by Community Feb 16 at 7:23



            Thank you for your interest in this question.
            Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



            Would you like to answer one of these unanswered questions instead?














            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            3














            In "Search and Replace" dialogue box (Press Ctrl+H)



            Under "Search Mode", Choose "Regular Expression"



            Under "Find What: ", paste



            ^.+[.]



            Click "Replace All"





            Explanation of PCRE



            ^ Beginning of the string



            . Any character



            + One or more the previous character (greedy)



            [.] One character of dot






            share|improve this answer




























              3














              In "Search and Replace" dialogue box (Press Ctrl+H)



              Under "Search Mode", Choose "Regular Expression"



              Under "Find What: ", paste



              ^.+[.]



              Click "Replace All"





              Explanation of PCRE



              ^ Beginning of the string



              . Any character



              + One or more the previous character (greedy)



              [.] One character of dot






              share|improve this answer


























                3












                3








                3







                In "Search and Replace" dialogue box (Press Ctrl+H)



                Under "Search Mode", Choose "Regular Expression"



                Under "Find What: ", paste



                ^.+[.]



                Click "Replace All"





                Explanation of PCRE



                ^ Beginning of the string



                . Any character



                + One or more the previous character (greedy)



                [.] One character of dot






                share|improve this answer













                In "Search and Replace" dialogue box (Press Ctrl+H)



                Under "Search Mode", Choose "Regular Expression"



                Under "Find What: ", paste



                ^.+[.]



                Click "Replace All"





                Explanation of PCRE



                ^ Beginning of the string



                . Any character



                + One or more the previous character (greedy)



                [.] One character of dot







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Dec 10 '13 at 6:53









                Ivan ChauIvan Chau

                907418




                907418

















                    protected by Community Feb 16 at 7:23



                    Thank you for your interest in this question.
                    Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



                    Would you like to answer one of these unanswered questions instead?



                    Popular posts from this blog

                    Probability when a professor distributes a quiz and homework assignment to a class of n students.

                    Aardman Animations

                    Are they similar matrix