Community

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

    Delete some lines

    Help wanted · · · – – – · · ·
    2
    3
    69
    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 Jongman
      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 Kilborn 1 Reply Last reply Reply Quote 0
      • Alan Kilborn
        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 Jongman
          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
          Copyright © 2014 NodeBB Forums | Contributors