Community
    • Login

    #HELP ME..............................

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 2 Posters 466 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.
    • ELIOTE
      ELIOT
      last edited by

      I want change this:

      “priceMax”:2.1}"
      “priceMax”:1.1}"
      “priceMax”:3.1}"

      To this:
      “priceMax”:0.1}"
      “priceMax”:0.1}"
      “priceMax”:0.1}"

      THANK YOU

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @ELIOT
        last edited by

        @eliot

        If you really have smart quotes in your data (doubful, but it’s what you posted):

        • FIND = “priceMax”:\K\d+\.\d+
        • REPLACE = 0.1
        • SEARCH MODE = regular expression
        • REPLACE ALL (because of \K, single replacement won’t work as expected)

        If you actually have ASCII quotes in the data

        • FIND = "priceMax":\K\d+\.\d+
        • everything else the same

        ----

        Useful References

        • Please Read Before Posting
        • Template for Search/Replace Questions
        • FAQ: Where to find regular expressions (regex) documentation
        • Notepad++ Online User Manual: Searching/Regex
        1 Reply Last reply Reply Quote 2
        • ELIOTE
          ELIOT
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • ELIOTE
            ELIOT
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • ELIOTE ELIOT deleted this topic on
            • PeterJonesP PeterJones restored this topic on
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors