• Login
Community
  • Login

thousand points find an replace

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
3 Posts 2 Posters 260 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.
  • B
    Benjamin Wüsthofen
    last edited by Jan 12, 2022, 7:17 AM

    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

    E 1 Reply Last reply Jan 12, 2022, 8:14 AM Reply Quote 0
    • E
      Ekopalypse @Benjamin Wüsthofen
      last edited by Jan 12, 2022, 8:14 AM

      @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.

      B 1 Reply Last reply Jan 12, 2022, 8:54 AM Reply Quote 3
      • B
        Benjamin Wüsthofen @Ekopalypse
        last edited by Jan 12, 2022, 8:54 AM

        @ekopalypse said in thousand points find an replace:

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

        Thank you! Perfect

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