Community
    • Login

    Bookmark specific line till next empty line

    Scheduled Pinned Locked Moved General Discussion
    4 Posts 2 Posters 249 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.
    • Isaac GohI
      Isaac Goh
      last edited by

      CMDCli/>

      testing01_to_08_dd:
      Name Value


      ini [testing01_S1_TEST0, testing01_S1_TEST1, testing01_S2_TEST0,
      testing01_S2_TEST1, testing02_S1_TEST0, testing02_S1_TEST1,
      testing02_S2_TEST0, testing02_S2_TEST1, testing02_S3_TEST0,
      testing02_S3_TEST1, testing02_S4_TEST0, testing02_S4_TEST1,
      testing03_S1_TEST0, testing03_S1_TEST1, testing03_S2_TEST0,
      testing03_S2_TEST1, testing04_S1_TEST0, testing04_S1_TEST1,
      testing04_S2_TEST0, testing04_S2_TEST1, testing04_S3_TEST0,
      testing04_S3_TEST1, testing04_S4_TEST0, testing04_S4_TEST1,
      testing05_S1_TEST0, testing05_S1_TEST1, testing05_S2_TEST0,
      testing05_S2_TEST1, testing06_S1_TEST0, testing06_S1_TEST1,
      testing06_S2_TEST0, testing06_S2_TEST1, testing06_S3_TEST0,
      testing06_S3_TEST1, testing06_S4_TEST0, testing06_S4_TEST1,
      testing07_S1_TEST0, testing07_S1_TEST1, testing07_S2_TEST0,
      testing07_S2_TEST1, testing08_S1_TEST0, testing08_S1_TEST1,
      testing08_S2_TEST0, testing08_S2_TEST1, testing08_S3_TEST0,
      testing08_S3_TEST1, testing08_S4_TEST0, testing08_S4_TEST1]
      status true
      name testing01_to_08_sv
      status ok
      test-vol [(0,device_Testvol_0057_1_vol,Test3:Numbers10a0323290cc8efa88,7.03T)]
      status true
      ports [numbers1C5-A0-DD00, numbers1C5-A0-DD01,
      numbers1C5-A0-DD02, numbers1C5-A0-DD03,
      numbers232-A0-DD00, numbers232-A0-DD01,
      numbers232-A0-DD02, numbers232-A0-DD03,
      numbers1C5-B0-DD00, numbers1C5-B0-DD01,
      numbers1C5-B0-DD02, numbers1C5-B0-DD03,
      numbers232-B0-DD00, numbers232-B0-DD01,
      numbers232-B0-DD02, numbers232-B0-DD03]
      test-tag -
      status [numbers1C5-A0-DD00,true,ok, numbers1C5-A0-DD01,true,ok,
      numbers1C5-A0-DD02,true,ok, numbers1C5-A0-DD03,true,ok,
      numbers232-A0-DD00,true,ok, numbers232-A0-DD01,true,ok,
      numbers232-A0-DD02,true,ok, numbers232-A0-DD03,true,ok,
      numbers1C5-B0-DD00,true,ok, numbers1C5-B0-DD01,true,ok,
      numbers1C5-B0-DD02,true,ok, numbers1C5-B0-DD03,true,ok,
      numbers232-B0-DD00,true,ok, numbers232-B0-DD01,true,ok,
      numbers232-B0-DD02,true,ok, numbers232-B0-DD03,true,ok]
      copy true

      CMDCli/>

      testing_dd:
      Name Value


      test-tag -
      ports [numbers1C5-A0-DD00, numbers1C5-A0-DD01, numbers1C5-A0-DD02,
      numbers1C5-A0-DD03, numbers232-A0-DD00, numbers232-A0-DD01,
      numbers232-A0-DD02, numbers232-A0-DD03, numbers1C5-B0-DD00,
      numbers1C5-B0-DD01, numbers1C5-B0-DD02, numbers1C5-B0-DD03,
      numbers232-B0-DD00, numbers232-B0-DD01, numbers232-B0-DD02,
      numbers232-B0-DD03]
      copy true
      ini [testing1_p0, testing1_p1, testing1_p2, testing1_p3,
      testing2_p0, testing2_p1, testing2_p2, testing2_p3,
      testing3_p0, testing3_p1, testing3_p2, testing3_p3,
      testing4_p0, testing4_p1, testing4_p2, testing4_p3,
      testing5_p0, testing5_p1, testing5_p2, testing5_p3,
      testing6_p0, testing6_p1, testing6_p2, testing6_p3,
      testing7_p0, testing7_p1, testing7_p2, testing7_p3,
      testing8_p0, testing8_p1, testing8_p2, testing8_p3]
      status [numbers1C5-A0-DD00,true,ok, numbers1C5-A0-DD01,true,ok,
      numbers1C5-A0-DD02,true,ok, numbers1C5-A0-DD03,true,ok,
      numbers232-A0-DD00,true,ok, numbers232-A0-DD01,true,ok,
      numbers232-A0-DD02,true,ok, numbers232-A0-DD03,true,ok,
      numbers1C5-B0-DD00,true,ok, numbers1C5-B0-DD01,true,ok,
      numbers1C5-B0-DD02,true,ok, numbers1C5-B0-DD03,true,ok,
      numbers232-B0-DD00,true,ok, numbers232-B0-DD01,true,ok,
      numbers232-B0-DD02,true,ok, numbers232-B0-DD03,true,ok]
      status true
      name testing_sv
      test-vol [(0,device_Testvol_0064_1_vol_rpa_log,Test3:Numbers10b03232a48f03d0f2,10G)]
      status ok
      status true

      Need to bookmark line using Reg to search for example “testing01_to_08_dd:” and bookmark down before the next empty line

      1 Reply Last reply Reply Quote 0
      • Isaac GohI
        Isaac Goh
        last edited by

        which is to bookmark from

        testing01_to_08_dd:
        Name Value

        ini [testing01_S1_TEST0, testing01_S1_TEST1, testing01_S2_TEST0,
        testing01_S2_TEST1, testing02_S1_TEST0, testing02_S1_TEST1,
        testing02_S2_TEST0, testing02_S2_TEST1, testing02_S3_TEST0,
        testing02_S3_TEST1, testing02_S4_TEST0, testing02_S4_TEST1,
        testing03_S1_TEST0, testing03_S1_TEST1, testing03_S2_TEST0,
        testing03_S2_TEST1, testing04_S1_TEST0, testing04_S1_TEST1,
        testing04_S2_TEST0, testing04_S2_TEST1, testing04_S3_TEST0,
        testing04_S3_TEST1, testing04_S4_TEST0, testing04_S4_TEST1,
        testing05_S1_TEST0, testing05_S1_TEST1, testing05_S2_TEST0,
        testing05_S2_TEST1, testing06_S1_TEST0, testing06_S1_TEST1,
        testing06_S2_TEST0, testing06_S2_TEST1, testing06_S3_TEST0,
        testing06_S3_TEST1, testing06_S4_TEST0, testing06_S4_TEST1,
        testing07_S1_TEST0, testing07_S1_TEST1, testing07_S2_TEST0,
        testing07_S2_TEST1, testing08_S1_TEST0, testing08_S1_TEST1,
        testing08_S2_TEST0, testing08_S2_TEST1, testing08_S3_TEST0,
        testing08_S3_TEST1, testing08_S4_TEST0, testing08_S4_TEST1]
        status true
        name testing01_to_08_sv
        status ok
        test-vol [(0,device_Testvol_0057_1_vol,Test3:Numbers10a0323290cc8efa88,7.03T)]
        status true
        ports [numbers1C5-A0-DD00, numbers1C5-A0-DD01,
        numbers1C5-A0-DD02, numbers1C5-A0-DD03,
        numbers232-A0-DD00, numbers232-A0-DD01,
        numbers232-A0-DD02, numbers232-A0-DD03,
        numbers1C5-B0-DD00, numbers1C5-B0-DD01,
        numbers1C5-B0-DD02, numbers1C5-B0-DD03,
        numbers232-B0-DD00, numbers232-B0-DD01,
        numbers232-B0-DD02, numbers232-B0-DD03]
        test-tag -
        status [numbers1C5-A0-DD00,true,ok, numbers1C5-A0-DD01,true,ok,
        numbers1C5-A0-DD02,true,ok, numbers1C5-A0-DD03,true,ok,
        numbers232-A0-DD00,true,ok, numbers232-A0-DD01,true,ok,
        numbers232-A0-DD02,true,ok, numbers232-A0-DD03,true,ok,
        numbers1C5-B0-DD00,true,ok, numbers1C5-B0-DD01,true,ok,
        numbers1C5-B0-DD02,true,ok, numbers1C5-B0-DD03,true,ok,
        numbers232-B0-DD00,true,ok, numbers232-B0-DD01,true,ok,
        numbers232-B0-DD02,true,ok, numbers232-B0-DD03,true,ok]
        copy true

        1 Reply Last reply Reply Quote 0
        • Alan KilbornA
          Alan Kilborn
          last edited by

          @Isaac-Goh said in Bookmark specific line till next empty line:

          testing01_to_08_dd:

          You don’t provide the clearest definition of your need, but this seems to fit:

          find: (?s-i)testing01_to_08_dd:.*?^$

          Isaac GohI 1 Reply Last reply Reply Quote 2
          • Isaac GohI
            Isaac Goh @Alan Kilborn
            last edited by

            @Alan-Kilborn

            This is what I need. Appreciate for your prompt assistant, thank you Cheer!!!.

            1 Reply Last reply Reply Quote 1
            • Alan KilbornA Alan Kilborn referenced this topic on
            • Alan KilbornA Alan Kilborn referenced this topic on
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors