Community

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

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

    Help wanted · · · – – – · · ·
    2
    4
    178
    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.
    • ELIOT
      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

      PeterJones 1 Reply Last reply Reply Quote 0
      • PeterJones
        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
        • ELIOT
          ELIOT last edited by

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

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • Deleted by  ELIOT ELIOT 
            • Restored by  PeterJones PeterJones 
            • First post
              Last post
            Copyright © 2014 NodeBB Forums | Contributors