Community
    • Login

    Find and Replace values between tags over multiple files

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 1.1k 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.
    • Zecron ClawZ
      Zecron Claw
      last edited by

      So i have a value in multiple files that is different in all the files that i want to change to one number.

      <TurnBandVelocity1>1.60</TurnBandVelocity1>

      So i have the 1.60 that i want to change to 1.20, but the value is not 1.60 in every file. What is the search line that i should use to do this.

      Scott SumnerS 1 Reply Last reply Reply Quote 1
      • Scott SumnerS
        Scott Sumner @Zecron Claw
        last edited by

        @Zecron-Claw

        How about something like this?:

        Find what zone: (?-i)(?<=<TurnBandVelocity1>)[0-9.]+(?=</TurnBandVelocity1>)
        Replace with zone: 1.20
        Search mode: Regular expression

        Hint: Back up all of your data before using Replace in Files !

        1 Reply Last reply Reply Quote 1
        • Zecron ClawZ
          Zecron Claw
          last edited by

          Thank you this worked :D

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