Community
    • Login

    thousand points find an replace

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 444 Views 1 Watching
    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.
    • Benjamin WüsthofenB Offline
      Benjamin Wüsthofen
      last edited by

      Hello community,
      i need to find and replace the thousand points.

      From:
      10.046,46
      10.026,15
      9.998,46
      9.998,46

      To:
      10046,46
      10026,15
      9998,46
      9998,46

      Can anyone help me please?

      Thank you

      EkopalypseE 1 Reply Last reply Reply Quote 0
      • EkopalypseE Offline
        Ekopalypse @Benjamin Wüsthofen
        last edited by

        @benjamin-wüsthofen said in thousand points find an replace:

        A possible solution could be a regular expression like

        find: \b\d+\K\.(?=\d{3})\b
        and replace with nothing.

        Because the regular expression uses \K notation, you cannot replace each occurrence by going through the matches, but must use the “Replace All” button.

        Benjamin WüsthofenB 1 Reply Last reply Reply Quote 3
        • Benjamin WüsthofenB Offline
          Benjamin Wüsthofen @Ekopalypse
          last edited by

          @ekopalypse said in thousand points find an replace:

          \b\d+\K.(?=\d{3})\b

          Thank you! Perfect

          1 Reply Last reply Reply Quote 1

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors