Community
    • Login

    Help with Replace

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 381 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.
    • Tom WakT
      Tom Wak
      last edited by

      I have strings like this:

      string1:string2:string3

      and on each line, i want to remove “:string3”, is there any way to do that?

      EkopalypseE 1 Reply Last reply Reply Quote 0
      • EkopalypseE
        Ekopalypse @Tom Wak
        last edited by

        @Tom-Wak

        with the provided data I would assume that something like
        find: (?-s)(\w+:\w+):\w+(?=.*)
        replace: \1
        should do the job.

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