• Login
Community
  • Login

Delete some lines

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
3 Posts 2 Posters 229 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.
  • R
    Roel Jongman
    last edited by Nov 13, 2022, 5:43 PM

    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?

    A 1 Reply Last reply Nov 13, 2022, 5:48 PM Reply Quote 0
    • A
      Alan Kilborn @Roel Jongman
      last edited by Nov 13, 2022, 5:48 PM

      @Roel-Jongman

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

      1 Reply Last reply Reply Quote 2
      • R
        Roel Jongman
        last edited by Nov 14, 2022, 11:55 AM

        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
        2 out of 3
        • First post
          2/3
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors