Community
    • Login

    Delete some lines

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 398 Views 1 Watching
    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 Offline
      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 Offline
        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 Offline
          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

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors