• Login
Community
  • Login

Replacing Multiple Values

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
replacing
2 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.
  • J
    Jasin Refiku
    last edited by Mar 27, 2018, 5:52 PM

    Hello, sorry if it has been asked before, but i need a little help with this question:
    How do I replace multiple numbers?
    For example: I have a lot of values starting with:
    <ElectricityConsumption>???
    How do I change all of those values into 0 for example(Without doing CTRL + H one by one on all of the numbers)?

    S 1 Reply Last reply Mar 27, 2018, 6:07 PM Reply Quote 1
    • S
      Scott Sumner @Jasin Refiku
      last edited by Mar 27, 2018, 6:07 PM

      @Jasin-Refiku

      From the detail provided I’d say that this would do it:

      Find what zone: (?-i)(<ElectricityConsumption>)\d+
      Replace with zone: \10
      Search mode: Regular expression

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