• Login
Community
  • Login

In rows with notepad

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
2 Posts 2 Posters 426 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.
  • O
    oscar remiccc
    last edited by oscar remiccc Aug 10, 2019, 10:44 PM Aug 10, 2019, 10:43 PM

    Good evening friends, I have a text with lines how are you

    honryamert@gmail.com :email1 | NAME = FREDY | CODE = IDE-3456
    XCD-4568 AQS-5674 | DATE = 11-MAY | N_Client : 34528SW3 | PHONE = 038823456
    markvittr@hotmail.com :email | NAME = MARK | CODE = IDE-6215
    WSX-7384 TRE-5672 | DATE = 25-SET | N_Client : 36128SW3 | PHONE = 098765457

    Can you put in rows with notepad?

    honryamert@gmail.com :email | NAME = FREDY | CODE = IDE-3456 XCD-4568 AQS-5674 | DATE = 11-MAY | N_Client : 34528SW3 | PHONE = 038823456
    markvittr@hotmail.com :email | NAME = MARK | CODE = IDE-6215 WSX-7384 TRE-5672 | DATE = 25-SET | N_Client : 36128SW3 | PHONE = 098765457

    A 1 Reply Last reply Aug 11, 2019, 12:17 AM Reply Quote 0
    • A
      Alan Kilborn @oscar remiccc
      last edited by Aug 11, 2019, 12:17 AM

      @oscar-remiccc

      So you have to pick out some sort of pattern to be able to do this. If your lines are always in pairs then it is fairly easy:

      Find what box: (?-s)^(.+)\R(.+)
      Replace with box: \1\s\2
      Wrap around checkbox: ticked
      Search mode: Regular expression
      Action: Press Replace All button

      Of course if your data is not as regular as it appears, then we will move on to something else…

      1 Reply Last reply Reply Quote 1
      1 out of 2
      • First post
        1/2
        Last post
      The Community of users of the Notepad++ text editor.
      Powered by NodeBB | Contributors