Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    thousand points find an replace

    Help wanted · · · – – – · · ·
    2
    3
    93
    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üsthofen
      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

      Ekopalypse 1 Reply Last reply Reply Quote 0
      • Ekopalypse
        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üsthofen 1 Reply Last reply Reply Quote 3
        • Benjamin Wüsthofen
          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
          • First post
            Last post
          Copyright © 2014 NodeBB Forums | Contributors