• Login
Community
  • Login

How to replace / delete in bulk

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
4 Posts 2 Posters 916 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.
  • P
    Pablo U
    last edited by May 7, 2022, 12:49 AM

    Hi,

    How to do a massive replace or delete (44k+ lines) with the below:

    Line 238440: <FLTR>
    Line 238441: <FLTR>
    Line 238442: <FLTR>
    Line 238443: <FLTR>
    Line 238444: <FLTR>
    Line 238445: <FLTR>
    Line 238446: <FLTR>
    Line 238447: <FLTR>
    Line 238448: <FLTR>
    Line 238449: <FLTR>
    Line 238450: <SQL >
    Line 238451: <SQL >
    Line 238452: <SQL >
    Line 238453: <FLTR>
    Line 238454: <FLTR>
    Line 238455: <FLTR>
    Line 238456: <FLTR>
    Line 238457: <FLTR>
    Line 238458: <FLTR>
    Line 238459: <FLTR>
    Line 238460: <FLTR>
    Line 238461: <FLTR>
    Line 238462: <FLTR>
    Line 238463: <FLTR>
    Line 238464: <FLTR>
    Line 238465: <FLTR>
    Line 238466: <FLTR>
    Line 238467: <FLTR>
    Line 238468: <FLTR>
    Line 238469: <FLTR>
    Line 238470: <FLTR>
    Line 238471: <FLTR>
    Line 238472: <FLTR>
    Line 238473: <FLTR>
    Line 238474: <FLTR>
    Line 238475: <FLTR>
    Line 238476: <FLTR>
    Line 238477: <FLTR>
    Line 238478: <FLTR>
    Line 238479: <FLTR>
    Line 238480: <FLTR>
    Line 238481: <FLTR>
    Line 238482: <FLTR>
    Line 238483: <FLTR>
    Line 238484: <FLTR>
    Line 238485: <FLTR>
    Line 238486: <FLTR>
    Line 238487: <FLTR>
    Line 238488: <FLTR>
    Line 238489: <FLTR>

    I want to remove the: Line 238485: of every line, the thing is that every lines has different number obviously, is there a way to accomplish that?

    I just want to have <FLTR> or <API> or <SQL> on my log.

    Thanks in advance

    A 1 Reply Last reply May 7, 2022, 1:35 AM Reply Quote 0
    • A
      Alan Kilborn @Pablo U
      last edited by May 7, 2022, 1:35 AM

      @pablo-u

      Find: ^Line \d+:
      Replace: nothing
      Search mode: Regular expression

      P 2 Replies Last reply May 9, 2022, 1:04 PM Reply Quote 2
      • P
        Pablo U @Alan Kilborn
        last edited by May 9, 2022, 1:04 PM

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • P
          Pablo U @Alan Kilborn
          last edited by May 9, 2022, 1:14 PM

          @alan-kilborn said in How to replace / delete in bulk:

          @pablo-u

          Find: ^Line \d+:
          Replace: nothing
          Search mode: Regular expression

          @alan-kilborn Thank you very much, worked like a charm!!!

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