Community
    • Login

    Need some help here, please

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 365 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.
    • Jay SmithJ
      Jay Smith
      last edited by

       <resource name="dirt" title="%EarthT" desc="%EarthD" file="gfx\level_tiles\craft_res\craft_dirt_01" build="dirt" application="mining" properties="wall" shop_count="10" shop_cost="1" pak="" />
         <resource name="sand" title="%SandT" desc="%SandD" file="gfx\level_tiles\craft_res\craft_send_01" build="sand" application="mining" properties="wall" shop_count="5" shop_cost="1" pak="" />
      
      

      I have tis XML file and I want to replace all shop_count values to the same number. but have no idea how to search and replace them.For example, I would like to search for shop_count=“any number” and replace it with shop_count=“10”. Is it possible to search this way?

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • Alan KilbornA
        Alan Kilborn @Jay Smith
        last edited by

        @jay-smith

        find: shop_count="\d+"
        repl: shop_count="10"
        mode: Regular expression

        1 Reply Last reply Reply Quote 2
        • Jay SmithJ
          Jay Smith
          last edited by

          Thank you!

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