Community
    • Login

    Delete some lines

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 225 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.
    • Roel JongmanR
      Roel Jongman
      last edited by

      I am editing a Gedcom-file with about 300.000 lines of text.
      Some lines start with:
      1 _UID followed with a variabel expression.

      Sample : 1 _UID 2BBEAA2D9B2B45D29FDED50E6913ABC2E6DB

      How can i delete all these lines?

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

        @Roel-Jongman

        Find: (?-is)^1 _UID.*\R
        Replace: nothing
        Search mode: Regular expression

        1 Reply Last reply Reply Quote 2
        • Roel JongmanR
          Roel Jongman
          last edited by

          Thank you Allan,

          I was aware of the find-and-replace option, but did not know how to select the whole line.
          I worked just fine for me.

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