Community
    • Login

    wanting to join a bunch of lines.

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    5 Posts 2 Posters 2.1k Views 1 Watching
    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.
    • Reece Asquith-JepsonR Offline
      Reece Asquith-Jepson
      last edited by

      Hello, i’m trying to join a bunch of lines together quickly and hopefully at once.

      he’s an example of what i have and what i need. Image

      1 Reply Last reply Reply Quote 0
      • 古旮古 Offline
        古旮
        last edited by

        Please explain your example. I don’t understand your need.
        Maybe you can try Edit -> Blank Operations -> EOL to Space

        BTW, how to earn 2 reputaion in this forum? I have to wait 20 minutes to rely another post.

        1 Reply Last reply Reply Quote 1
        • Reece Asquith-JepsonR Offline
          Reece Asquith-Jepson
          last edited by

          In the image the bottom file is the one it needs to look like and the one above is what all the lines look like. i want to try and join the lines together and get this effect.

          1 Reply Last reply Reply Quote 0
          • 古旮古 Offline
            古旮
            last edited by

            find:
            (?-s)<(?!/)(.*?)>(.*)\R(.*?)</\1>
            replace:
            <\1>\2\3</\1>

            Here is Regex syntax.

            Tested text:

               <tag1>dfgsdfg 
            sdfg</tag1>
            
            <tag1>dfgsdfg <tag2>
            </tag2>sdfg</tag1>
            
            1 Reply Last reply Reply Quote 0
            • Reece Asquith-JepsonR Offline
              Reece Asquith-Jepson
              last edited by

              Thanks it’s mostly worked with 1 or 2 issues for another line but it’s super easy to fix now so thank you!

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post
              The Community of users of the Notepad++ text editor.
              Powered by NodeBB | Contributors