Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    how to make couple words of the same line sentence to new line

    Help wanted · · · – – – · · ·
    3
    3
    42
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Teamelite Teamelite
      Teamelite Teamelite last edited by

      Hi

      I have a question, i have many lines like below, how to make http to be in new line

      myshareddrive http://xx.xx.xx
      mysharedrive2 http://xx.xx.xx

      Ekopalypse 1 Reply Last reply Reply Quote 0
      • Ekopalypse
        Ekopalypse @Teamelite Teamelite last edited by

        @Teamelite-Teamelite

        find: .(?=http://)
        replace: \r\n
        mark regular expression

        If you want to know more about regular expression search see here.

        1 Reply Last reply Reply Quote 1
        • Olivier Thomas
          Olivier Thomas last edited by

          or
          find: http:
          replace: \n$0

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          Copyright © 2014 NodeBB Forums | Contributors