Community

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

    In rows with notepad

    Help wanted · · · – – – · · ·
    2
    2
    235
    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.
    • oscar remiccc
      oscar remiccc last edited by oscar remiccc

      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

      Alan Kilborn 1 Reply Last reply Reply Quote 0
      • Alan Kilborn
        Alan Kilborn @oscar remiccc last edited by

        @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
        • First post
          Last post
        Copyright © 2014 NodeBB Forums | Contributors