• Login
Community
  • Login

wanting to join a bunch of lines.

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
5 Posts 2 Posters 1.8k Views
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.
  • R
    Reece Asquith-Jepson
    last edited by Mar 18, 2018, 9:19 PM

    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
    • 古
      古旮
      last edited by Mar 19, 2018, 5:58 AM

      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
      • R
        Reece Asquith-Jepson
        last edited by Mar 22, 2018, 12:20 AM

        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
        • 古
          古旮
          last edited by Mar 22, 2018, 10:02 AM

          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
          • R
            Reece Asquith-Jepson
            last edited by Mar 28, 2018, 8:10 PM

            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
            4 out of 5
            • First post
              4/5
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors