Community
    • Login

    How to replace / delete in bulk

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 2 Posters 902 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.
    • Pablo UP
      Pablo U
      last edited by

      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

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • Alan KilbornA
        Alan Kilborn @Pablo U
        last edited by

        @pablo-u

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

        Pablo UP 2 Replies Last reply Reply Quote 2
        • Pablo UP
          Pablo U @Alan Kilborn
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • Pablo UP
            Pablo U @Alan Kilborn
            last edited by

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