Community
    • Login

    Search and replace in all Documents

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 2 Posters 3.1k 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.
    • Douglas McArthurD
      Douglas McArthur
      last edited by

      I am trying to remove end of line checksum which is not needed so my files have about 5000 lines of code in file there is 10 in total
      so a basic line goes blah.blah then tab 1.00 (end of line read next) tab again and a 3 digit checksum so I want to delete everything after the 1.00… I can manual do it with using extended and \t1.00\t413 and repeating for all checksums I see… is there a better way to this?

      Thanks
      Doug

      1 Reply Last reply Reply Quote 0
      • jonandrJ
        jonandr
        last edited by

        Open Find and replace, check “Regular expression”, replace

        \t\d\d\d$
        

        with nothing.

        \t = tab
        \d = any digit
        $ = end of line

        1 Reply Last reply Reply Quote 1
        • Douglas McArthurD
          Douglas McArthur
          last edited by

          thanks you so much was so close had \t\d\d\d but it kept showing no match as I was still searching in Extended, not regular.

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